private static final class AATreeSet.TreeNode<E extends java.lang.Comparable> extends AATreeSet.AbstractTreeNode<E>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(E data)
Compare this node to the supplied 'data' object.
|
E |
getPayload()
Return the 'value' object held within this node.
|
void |
swapPayload(AATreeSet.Node<E> node)
Swap the payload objects between this node and the supplied node.
|
decrementLevel, getLeft, getLevel, getRight, incrementLevel, setLeft, setLevel, setRight
private E extends java.lang.Comparable payload
public TreeNode(E payload)
public int compareTo(E data)
AATreeSet.Node
public void swapPayload(AATreeSet.Node<E> node)
AATreeSet.Node
public E getPayload()
AATreeSet.Node