public static enum FiniteDifference.Type extends Enum<FiniteDifference.Type>
Enum Constant and Description |
---|
BACKWARD
backward difference
|
CENTRAL
central difference
|
FORWARD
forward difference
|
Modifier and Type | Method and Description |
---|---|
static FiniteDifference.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FiniteDifference.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FiniteDifference.Type FORWARD
public static final FiniteDifference.Type BACKWARD
public static final FiniteDifference.Type CENTRAL
public static FiniteDifference.Type[] values()
for (FiniteDifference.Type c : FiniteDifference.Type.values()) System.out.println(c);
public static FiniteDifference.Type 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 nullCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.