public enum Ordinate extends Enum<Ordinate>
Intended to be used as an EnumSet<Ordinate>
, optimized create methods have been provided for createXY()
, createXYM()
, createXYZ()
and createXYZM()
.
Enum Constant and Description |
---|
M
Measure-ordinate
|
X
X-ordinate
|
Y
Y-ordinate
|
Z
Z-ordinate
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<Ordinate> |
createXY()
EnumSet of X and Y ordinates, a copy is returned as EnumSets are not immutable.
|
static EnumSet<Ordinate> |
createXYM()
EnumSet of XYM ordinates, a copy is returned as EnumSets are not immutable.
|
static EnumSet<Ordinate> |
createXYZ()
EnumSet of XYZ ordinates, a copy is returned as EnumSets are not immutable.
|
static EnumSet<Ordinate> |
createXYZM()
EnumSet of XYZM ordinates, a copy is returned as EnumSets are not immutable.
|
static Ordinate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ordinate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ordinate X
public static final Ordinate Y
public static final Ordinate Z
public static final Ordinate M
public static Ordinate[] values()
for (Ordinate c : Ordinate.values()) System.out.println(c);
public static Ordinate valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static EnumSet<Ordinate> createXY()
public static EnumSet<Ordinate> createXYZ()
public static EnumSet<Ordinate> createXYM()
Copyright © 2024. All rights reserved.