Class Node
- java.lang.Object
-
- org.apache.derby.impl.store.access.sort.Node
-
final class Node extends java.lang.Object
A node in a balanced binary tree. This class is effectively a struct to the balanced tree class.
-
-
Constructor Summary
Constructors Constructor Description Node(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) DataValueDescriptor[]
getKey()
Node
link(int which)
void
reset()
void
setLink(int which, Node l)
java.lang.String
toString()
-
-
-
Field Detail
-
balance
public int balance
-
leftLink
public Node leftLink
-
rightLink
public Node rightLink
-
key
public DataValueDescriptor[] key
-
id
public int id
-
dupChain
public Node dupChain
-
aux
public int aux
-
-
Method Detail
-
reset
public void reset()
-
link
public Node link(int which)
-
setLink
public void setLink(int which, Node l)
-
getKey
DataValueDescriptor[] getKey()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-