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