public class NodeKey<E extends NodeKey> extends Object implements Comparable<E>, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeKey.NodeKeyBuilder<B extends NodeKey.NodeKeyBuilder<B>>
Builder for node key.
|
| Modifier | Constructor and Description |
|---|---|
protected |
NodeKey(NodeKey.NodeKeyBuilder builder)
Create object from builder.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeKey.NodeKeyBuilder |
builder()
Returns node key builder.
|
NodeKey |
clone()
Creates and returns a deep copy of this object.
|
int |
compareTo(NodeKey o) |
boolean |
equals(Object obj) |
int |
hashCode() |
SchemaId |
schemaId()
Returns the schema identifier as minimal key required to identify a
branching node.
|
String |
toString() |
protected SchemaId schemaId
protected NodeKey(NodeKey.NodeKeyBuilder builder)
builder - initialized builderpublic static NodeKey.NodeKeyBuilder builder()
public SchemaId schemaId()
public int compareTo(NodeKey o)
compareTo in interface Comparable<E extends NodeKey>public NodeKey clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException - if the object's class does not
support the Cloneable interfaceCopyright © 2018. All rights reserved.