public static enum EnumFacing.Axis extends java.lang.Enum<EnumFacing.Axis> implements com.google.common.base.Predicate<EnumFacing>, IStringSerializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private static java.util.Map<java.lang.String,EnumFacing.Axis> |
NAME_LOOKUP |
private EnumFacing.Plane |
plane |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(EnumFacing p_apply_1_) |
static EnumFacing.Axis |
byName(java.lang.String name) |
java.lang.String |
getName() |
java.lang.String |
getName2() |
EnumFacing.Plane |
getPlane() |
boolean |
isHorizontal() |
boolean |
isVertical() |
java.lang.String |
toString() |
static EnumFacing.Axis |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumFacing.Axis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumFacing.Axis X
public static final EnumFacing.Axis Y
public static final EnumFacing.Axis Z
private static final java.util.Map<java.lang.String,EnumFacing.Axis> NAME_LOOKUP
private final java.lang.String name
private final EnumFacing.Plane plane
public static EnumFacing.Axis[] values()
for (EnumFacing.Axis c : EnumFacing.Axis.values()) System.out.println(c);
public static EnumFacing.Axis valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nullable public static EnumFacing.Axis byName(java.lang.String name)
public java.lang.String getName2()
public boolean isVertical()
public boolean isHorizontal()
public java.lang.String toString()
toString
in class java.lang.Enum<EnumFacing.Axis>
public boolean apply(@Nullable EnumFacing p_apply_1_)
public EnumFacing.Plane getPlane()
public java.lang.String getName()
getName
in interface IStringSerializable