com.bulletphysics.collision.broadphase
Enum DispatchFunc
java.lang.Object
java.lang.Enum<DispatchFunc>
com.bulletphysics.collision.broadphase.DispatchFunc
- All Implemented Interfaces:
- Serializable, Comparable<DispatchFunc>
public enum DispatchFunc
- extends Enum<DispatchFunc>
Method Summary |
int |
getValue()
|
static DispatchFunc |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DispatchFunc[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
DISPATCH_DISCRETE
public static final DispatchFunc DISPATCH_DISCRETE
DISPATCH_CONTINUOUS
public static final DispatchFunc DISPATCH_CONTINUOUS
values
public static DispatchFunc[] 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 (DispatchFunc c : DispatchFunc.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DispatchFunc 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
getValue
public int getValue()