public enum RoleOfForce extends Enum<RoleOfForce> implements Enumeration
GaussJacksonIntegrator
Enum Constant and Description |
---|
MIXED
Indicates that a particular force contains both a principal component representing the first-order
effects and more complex perturbation effects.
|
PERTURBATION
Indicates that a particular force is a perturbation added to the principal force
(or in rare cases, principal forces).
|
PRINCIPAL
Indicates that a particular force dominates the force resultant and is simple to compute.
|
Modifier and Type | Method and Description |
---|---|
static RoleOfForce |
getDefault()
Get the enum constant that is considered to be the default.
|
static RoleOfForce |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static RoleOfForce |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleOfForce[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleOfForce PRINCIPAL
public static final RoleOfForce PERTURBATION
public static final RoleOfForce MIXED
public static RoleOfForce[] values()
for (RoleOfForce c : RoleOfForce.values()) System.out.println(c);
public static RoleOfForce valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static RoleOfForce getFromValue(int value)
value
- a numeric value.@Nonnull public static RoleOfForce getDefault()