public enum OceanLayer extends java.lang.Enum<OceanLayer> implements IAreaTransformer0
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
apply(IContext context,
AreaDimension areaDimensionIn,
int x,
int z) |
static OceanLayer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OceanLayer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfapplypublic static final OceanLayer INSTANCE
public static OceanLayer[] values()
for (OceanLayer c : OceanLayer.values()) System.out.println(c);
public static OceanLayer 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 int apply(IContext context, AreaDimension areaDimensionIn, int x, int z)
apply in interface IAreaTransformer0