public static enum EnumFacing.Plane extends java.lang.Enum<EnumFacing.Plane> implements java.lang.Iterable<EnumFacing>, java.util.function.Predicate<EnumFacing>
Enum Constant and Description |
---|
HORIZONTAL |
VERTICAL |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<EnumFacing> |
iterator() |
EnumFacing |
random(java.util.Random rand) |
boolean |
test(EnumFacing p_test_1_) |
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 random(java.util.Random rand)
public boolean test(@Nullable EnumFacing p_test_1_)
test
in interface java.util.function.Predicate<EnumFacing>
public java.util.Iterator<EnumFacing> iterator()
iterator
in interface java.lang.Iterable<EnumFacing>