Package de.xima.fc.common.geometry
Enum ECartesianAxis1D
- java.lang.Object
-
- java.lang.Enum<ECartesianAxis1D>
-
- de.xima.fc.common.geometry.ECartesianAxis1D
-
- All Implemented Interfaces:
Serializable
,Comparable<ECartesianAxis1D>
public enum ECartesianAxis1D extends Enum<ECartesianAxis1D>
An enumeration representing the two dimensions in a 1D cartesian coordinate system.- Since:
- 8.4.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description X
The X-axis, representing the one and only dimension.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ECartesianAxis1D
valueOf(String name)
Returns the enum constant of this type with the specified name.static ECartesianAxis1D[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X
public static final ECartesianAxis1D X
The X-axis, representing the one and only dimension.
-
-
Method Detail
-
values
public static ECartesianAxis1D[] 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 (ECartesianAxis1D c : ECartesianAxis1D.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ECartesianAxis1D 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
-
-