ehcache

net.sf.ehcache.store.disk.ods
Interface AATreeSet.Node<E>

All Known Implementing Classes:
AATreeSet.AbstractTreeNode, Region
Enclosing class:
AATreeSet<T extends Comparable>

public static interface AATreeSet.Node<E>

Interface implemented by nodes within this tree.


Method Summary
 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.
 

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.


ehcache

Copyright 2001-2017, Terracotta, Inc.