cz.cuni.amis.pogamut.ut2004.t3dgenerator.datatypes
Enum ESurfaceType
java.lang.Object
java.lang.Enum<ESurfaceType>
cz.cuni.amis.pogamut.ut2004.t3dgenerator.datatypes.ESurfaceType
- All Implemented Interfaces:
- Serializable, Comparable<ESurfaceType>
public enum ESurfaceType
- extends Enum<ESurfaceType>
- Author:
- Martin Cerny
Method Summary |
static ESurfaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ESurfaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Default
public static final ESurfaceType Default
Rock
public static final ESurfaceType Rock
Dirt
public static final ESurfaceType Dirt
Metal
public static final ESurfaceType Metal
Wood
public static final ESurfaceType Wood
Plant
public static final ESurfaceType Plant
Flesh
public static final ESurfaceType Flesh
Ice
public static final ESurfaceType Ice
Snow
public static final ESurfaceType Snow
Water
public static final ESurfaceType Water
Glass
public static final ESurfaceType Glass
values
public static ESurfaceType[] 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 (ESurfaceType c : ESurfaceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ESurfaceType 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
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.