public static interface AATreeSet.Node<E>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(E data)
Compare this node to the supplied 'data' object.
|
int |
decrementLevel()
Decrement and then return this node's new level.
|
AATreeSet.Node<E> |
getLeft()
Get this node's left child.
|
int |
getLevel()
Get this node's level.
|
E |
getPayload()
Return the 'value' object held within this node.
|
AATreeSet.Node<E> |
getRight()
Get this node's right child.
|
int |
incrementLevel()
Increment and then return this node's new level.
|
void |
setLeft(AATreeSet.Node<E> node)
Set this node's left child.
|
void |
setLevel(int value)
Set this node's level.
|
void |
setRight(AATreeSet.Node<E> node)
Set this node's right child.
|
void |
swapPayload(AATreeSet.Node<E> with)
Swap the payload objects between this node and the supplied node.
|
int compareTo(E data)
void setLeft(AATreeSet.Node<E> node)
void setRight(AATreeSet.Node<E> node)
AATreeSet.Node<E> getLeft()
AATreeSet.Node<E> getRight()
int getLevel()
void setLevel(int value)
int decrementLevel()
int incrementLevel()
void swapPayload(AATreeSet.Node<E> with)
E getPayload()
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.