public enum InputModel extends java.lang.Enum<InputModel>
Enum Constant and Description |
---|
ANGLE
Only angle the angle of the pendulum.
|
ANGLE_VPENDULUM
Angle and the speed of the pendulum.
|
ANGLE_VPENDULUM_VSLIDE
Angle, speed of the pendulum and the speed of the cart.
|
ANGLE_VPENDULUM_VSLIDE_POSITION
Angle, speed of the pendulum, speed of the cart and the position from the starting point.
|
Modifier and Type | Method and Description |
---|---|
static InputModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputModel ANGLE_VPENDULUM_VSLIDE_POSITION
public static final InputModel ANGLE_VPENDULUM_VSLIDE
public static final InputModel ANGLE_VPENDULUM
public static final InputModel ANGLE
public static InputModel[] values()
for (InputModel c : InputModel.values()) System.out.println(c);
public static InputModel 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