Package repast.simphony.gis.util
Enum GeometryUtil.GeometryType
- java.lang.Object
-
- java.lang.Enum<GeometryUtil.GeometryType>
-
- repast.simphony.gis.util.GeometryUtil.GeometryType
-
- All Implemented Interfaces:
Serializable
,Comparable<GeometryUtil.GeometryType>
- Enclosing class:
- GeometryUtil
public static enum GeometryUtil.GeometryType extends Enum<GeometryUtil.GeometryType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryUtil.GeometryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GeometryUtil.GeometryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POINT
public static final GeometryUtil.GeometryType POINT
-
LINE
public static final GeometryUtil.GeometryType LINE
-
POLYGON
public static final GeometryUtil.GeometryType POLYGON
-
OTHER
public static final GeometryUtil.GeometryType OTHER
-
-
Method Detail
-
values
public static GeometryUtil.GeometryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GeometryUtil.GeometryType c : GeometryUtil.GeometryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeometryUtil.GeometryType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-