public static enum P2HardSphereCavity.CollisionType extends java.lang.Enum<P2HardSphereCavity.CollisionType>
Enum Constant | Description |
---|---|
CAPTURE |
|
ESCAPE |
|
EXTERNAL_BOUNCE |
|
INTERNAL_BOUNCE |
Modifier and Type | Method | Description |
---|---|---|
static P2HardSphereCavity.CollisionType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static P2HardSphereCavity.CollisionType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final P2HardSphereCavity.CollisionType INTERNAL_BOUNCE
public static final P2HardSphereCavity.CollisionType ESCAPE
public static final P2HardSphereCavity.CollisionType EXTERNAL_BOUNCE
public static final P2HardSphereCavity.CollisionType CAPTURE
public static P2HardSphereCavity.CollisionType[] values()
for (P2HardSphereCavity.CollisionType c : P2HardSphereCavity.CollisionType.values()) System.out.println(c);
public static P2HardSphereCavity.CollisionType 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 null