datastructures

net.datastructures
Class AVLTree.AVLNode

java.lang.Object
  extended bynet.datastructures.BTNode
      extended bynet.datastructures.AVLTree.AVLNode
All Implemented Interfaces:
BTPosition, Position
Enclosing class:
AVLTree

protected static class AVLTree.AVLNode
extends BTNode

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()

datastructures