net.datastructures - version 5.0

net.datastructures
Class AVLTreeMap.AVLNode<K,V>

java.lang.Object
  extended by net.datastructures.BTNode<Entry<K,V>>
      extended by net.datastructures.AVLTreeMap.AVLNode<K,V>
All Implemented Interfaces:
BTPosition<Entry<K,V>>, Position<Entry<K,V>>
Enclosing class:
AVLTreeMap<K,V>

protected static class AVLTreeMap.AVLNode<K,V>
extends BTNode<Entry<K,V>>

Nested class for the nodes of an AVL tree.


Field Summary
protected  int height
           
 
Method Summary
 int getHeight()
           
 void setHeight(int h)
           
 
Methods inherited from class net.datastructures.BTNode
element, getLeft, getParent, getRight, setElement, setLeft, setParent, setRight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

height

protected int height
Method Detail

setHeight

public void setHeight(int h)

getHeight

public int getHeight()

net.datastructures - version 5.0