All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdsl.core.ref.RBTLocator

java.lang.Object
   |
   +----jdsl.core.ref.RBTLocator

public class RBTLocator
extends Object
implements Locator, RBColorConstants
This is a locator used by our implementation of Red-Black Tree.


Constructor Index

 o RBTLocator(Object, Object, Container, Position)

Method Index

 o color()
 o container()
 o element()
 o isContained()
 o isValid()
 o key()
 o position()
 o setColor(int)
 o setContainer(Container)
 o setElement(Object)
 o setKey(Object)
 o setPosition(Position)

Constructors

 o RBTLocator
 public RBTLocator(Object element,
                   Object key,
                   Container container,
                   Position position)

Methods

 o position
 public Position position() throws InvalidLocatorException
 o setPosition
 public void setPosition(Position position)
 o element
 public Object element() throws InvalidLocatorException
 o setElement
 public void setElement(Object element)
 o key
 public Object key() throws InvalidLocatorException
 o setKey
 public void setKey(Object key)
 o isContained
 public boolean isContained() throws InvalidLocatorException
 o container
 public Container container() throws InvalidLocatorException
 o setContainer
 public void setContainer(Container container)
 o isValid
 public boolean isValid()
 o color
 public int color()
 o setColor
 public void setColor(int color)

All Packages  Class Hierarchy  This Package  Previous  Next  Index