public enum CharSequenceDerivation extends Enum<CharSequenceDerivation> implements Derivation<CharSequence>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
derive(T rootKey,
CharSequence derivationPath,
CkdFunction<T> ckdFunction)
Traverse the nodes from the root key node to find the node referenced by the path.
|
static int |
hard(int index) |
static boolean |
isHardened(int i) |
static CharSequenceDerivation |
valueOf(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(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 int hard(int index)
public static boolean isHardened(int i)
public <T> T derive(T rootKey,
CharSequence derivationPath,
CkdFunction<T> ckdFunction)
Derivationderive in interface Derivation<CharSequence>T - The type of node we are visitingrootKey - The root of the pathderivationPath - The path to followckdFunction - Allows you to follow one linkCopyright © 2020. All rights reserved.