public static enum EnumFacing.Plane extends java.lang.Enum<EnumFacing.Plane> implements com.google.common.base.Predicate<EnumFacing>, java.lang.Iterable<EnumFacing>
Enum Constant and Description |
---|
HORIZONTAL |
VERTICAL |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(EnumFacing p_apply_1_) |
EnumFacing[] |
facings() |
java.util.Iterator<EnumFacing> |
iterator() |
EnumFacing |
random(java.util.Random rand) |
static EnumFacing.Plane |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumFacing.Plane[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumFacing.Plane HORIZONTAL
public static final EnumFacing.Plane VERTICAL
public static EnumFacing.Plane[] values()
for (EnumFacing.Plane c : EnumFacing.Plane.values()) System.out.println(c);
public static EnumFacing.Plane 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 nullpublic EnumFacing[] facings()
public EnumFacing random(java.util.Random rand)
public boolean apply(@Nullable EnumFacing p_apply_1_)
public java.util.Iterator<EnumFacing> iterator()
iterator
in interface java.lang.Iterable<EnumFacing>