public enum CurveNodeClashAction extends Enum<CurveNodeClashAction> implements NamedEnum
See CurveNodeDateOrder for more details.
| Enum Constant and Description |
|---|
DROP_OTHER
When a clash occurs, the other node is dropped.
|
DROP_THIS
When a clash occurs, this node is dropped.
|
EXCEPTION
When a clash occurs, an exception is thrown.
|
| Modifier and Type | Method and Description |
|---|---|
static CurveNodeClashAction |
of(String name)
Obtains an instance from the specified name.
|
String |
toString()
Returns the formatted name of the type.
|
static CurveNodeClashAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CurveNodeClashAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CurveNodeClashAction EXCEPTION
public static final CurveNodeClashAction DROP_THIS
public static final CurveNodeClashAction DROP_OTHER
public static CurveNodeClashAction[] values()
for (CurveNodeClashAction c : CurveNodeClashAction.values()) System.out.println(c);
public static CurveNodeClashAction 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 static CurveNodeClashAction of(String name)
Parsing handles the mixed case form produced by toString() and
the upper and lower case variants of the enum constant name.
name - the name to parseIllegalArgumentException - if the name is not knownpublic String toString()
toString in class Enum<CurveNodeClashAction>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.