Enum Ordinate

public enum Ordinate
An enumeration of possible Well-Known-Text or Well-Known-Binary ordinates.

Intended to be used as an EnumSet<Ordinate>, optimized create methods have been provided for createXY(), createXYM(), createXYZ() and createXYZM().

public static EnumSet<Ordinate> createXY()
EnumSet of X and Y ordinates, a copy is returned as EnumSets are not immutable.
Returns:
EnumSet of X and Y ordinates.
public static EnumSet<Ordinate> createXYZ()
EnumSet of XYZ ordinates, a copy is returned as EnumSets are not immutable.
Returns:
EnumSet of X and Y ordinates.
public static EnumSet<Ordinate> createXYM()
EnumSet of XYM ordinates, a copy is returned as EnumSets are not immutable.
Returns:
EnumSet of X and Y ordinates.
public static EnumSet<Ordinate> createXYZM()
EnumSet of XYZM ordinates, a copy is returned as EnumSets are not immutable.
Returns:
EnumSet of X and Y ordinates.
public static Ordinate[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(E c : E.values())
     System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they're declared
public static Ordinate valueOf(java.lang.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.)
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - IllegalArgumentException if this enum type has no constant with the specified name