Package net.sf.ehcache.store.disk.ods
Interface AATreeSet.Node<E>
-
- All Known Implementing Classes:
AATreeSet.AbstractTreeNode,Region
public static interface AATreeSet.Node<E>Interface implemented by nodes within this tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcompareTo(E data)Compare this node to the supplied 'data' object.intdecrementLevel()Decrement and then return this node's new level.AATreeSet.Node<E>getLeft()Get this node's left child.intgetLevel()Get this node's level.EgetPayload()Return the 'value' object held within this node.AATreeSet.Node<E>getRight()Get this node's right child.intincrementLevel()Increment and then return this node's new level.voidsetLeft(AATreeSet.Node<E> node)Set this node's left child.voidsetLevel(int value)Set this node's level.voidsetRight(AATreeSet.Node<E> node)Set this node's right child.voidswapPayload(AATreeSet.Node<E> with)Swap the payload objects between this node and the supplied node.
-
-
-
Method Detail
-
compareTo
int compareTo(E data)
Compare this node to the supplied 'data' object.
-
setLeft
void setLeft(AATreeSet.Node<E> node)
Set this node's left child.
-
setRight
void setRight(AATreeSet.Node<E> node)
Set this node's right child.
-
getLeft
AATreeSet.Node<E> getLeft()
Get this node's left child.
-
getRight
AATreeSet.Node<E> getRight()
Get this node's right child.
-
getLevel
int getLevel()
Get this node's level.
-
setLevel
void setLevel(int value)
Set this node's level.
-
decrementLevel
int decrementLevel()
Decrement and then return this node's new level.
-
incrementLevel
int incrementLevel()
Increment and then return this node's new level.
-
swapPayload
void swapPayload(AATreeSet.Node<E> with)
Swap the payload objects between this node and the supplied node.
-
getPayload
E getPayload()
Return the 'value' object held within this node.
-
-