public enum CharSequenceDerivation extends java.lang.Enum<CharSequenceDerivation> implements Derivation<java.lang.CharSequence>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
derive(T rootKey,
java.lang.CharSequence derivationPath,
CkdFunction<T> ckdFunction)
Traverse the nodes from the root key node to find the node referenced by the path.
|
static CharSequenceDerivation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CharSequenceDerivation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharSequenceDerivation INSTANCE
public static CharSequenceDerivation[] values()
for (CharSequenceDerivation c : CharSequenceDerivation.values()) System.out.println(c);
public static CharSequenceDerivation 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 nullpublic <T> T derive(T rootKey,
java.lang.CharSequence derivationPath,
CkdFunction<T> ckdFunction)
Derivationderive in interface Derivation<java.lang.CharSequence>T - The type of node we are visitingrootKey - The root of the pathderivationPath - The path to followckdFunction - Allows you to follow one link