public static enum EnumFacing.Axis extends java.lang.Enum<EnumFacing.Axis> implements com.google.common.base.Predicate<EnumFacing>, IStringSerializable
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
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_)
apply
in interface com.google.common.base.Predicate<EnumFacing>
public EnumFacing.Plane getPlane()
public java.lang.String getName()
getName
in interface IStringSerializable