at.tuwien.ifs.somtoolbox.layers
Enum Layer.GridTopology
java.lang.Object
java.lang.Enum<Layer.GridTopology>
at.tuwien.ifs.somtoolbox.layers.Layer.GridTopology
- All Implemented Interfaces:
- Serializable, Comparable<Layer.GridTopology>
- Enclosing interface:
- Layer
public static enum Layer.GridTopology
- extends Enum<Layer.GridTopology>
planar
public static final Layer.GridTopology planar
cylindrical
public static final Layer.GridTopology cylindrical
toroid
public static final Layer.GridTopology toroid
spherical
public static final Layer.GridTopology spherical
values
public static Layer.GridTopology[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Layer.GridTopology c : Layer.GridTopology.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Layer.GridTopology valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null