Enum Constant and Description |
---|
ATTRACTION |
DAMPING |
DISTANCE |
MASS |
RADIUS |
STIFFNESS |
Modifier and Type | Method and Description |
---|---|
static param |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static param[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final param MASS
public static final param RADIUS
public static final param STIFFNESS
public static final param DAMPING
public static final param DISTANCE
public static final param ATTRACTION
public static param[] values()
for (param c : param.values()) System.out.println(c);
public static param 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 nullProcessing Library miPhysics by James Leonard. (c) 2019