org.ozoneDB.collections
Class _NodeTreeMap_OzoneNodeImpl

java.lang.Object
  extended byorg.ozoneDB.OzoneObject
      extended byorg.ozoneDB.collections._AbstractOzoneMap_AbstractOzoneNode
          extended byorg.ozoneDB.collections._NodeTreeMap_OzoneNodeImpl
All Implemented Interfaces:
_AbstractOzoneMap_OzoneNode, _NodeTreeMap_OzoneNode, org.ozoneDB.collections.AbstractOzoneMap.Node, BaseTreeMap.Node, java.util.Map.Entry, org.ozoneDB.OzoneCompatible, org.ozoneDB.OzoneCompatibleOrProxy, OzoneMap.Node, org.ozoneDB.OzoneRemote, java.io.Serializable

public class _NodeTreeMap_OzoneNodeImpl
extends _AbstractOzoneMap_AbstractOzoneNode
implements _NodeTreeMap_OzoneNode

Author:
Leo Mekenkamp (mind the anti-sp@m)
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.ozoneDB.collections.BaseTreeMap.Node
BLACK, RED
 
Constructor Summary
_NodeTreeMap_OzoneNodeImpl(java.lang.Object key, java.lang.Object value, int color)
           
 
Method Summary
 int getColor()
           
 BaseTreeMap.Node getLeft()
           
 BaseTreeMap.Node getParent()
           
 BaseTreeMap.Node getRight()
           
 boolean isNil()
           
 void setColor(int color)
           
 void setLeft(BaseTreeMap.Node left)
           
 void setParent(BaseTreeMap.Node parent)
           
 void setRight(BaseTreeMap.Node right)
           
 
Methods inherited from class org.ozoneDB.collections._AbstractOzoneMap_AbstractOzoneNode
equals, getKey, getValue, hashCode, setKey, setValue, toString
 
Methods inherited from class org.ozoneDB.OzoneObject
container, database, deleteRecursive, getHandle, getObjectID, handle, onActivate, onCreate, onDelete, onPassivate, requireWriteLocking, self, setContainer, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.collections._AbstractOzoneMap_OzoneNode
setKey, setValue
 
Methods inherited from interface java.util.Map.Entry
equals, getKey, getValue, hashCode
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 

Constructor Detail

_NodeTreeMap_OzoneNodeImpl

public _NodeTreeMap_OzoneNodeImpl(java.lang.Object key,
                                  java.lang.Object value,
                                  int color)
Method Detail

setRight

public void setRight(BaseTreeMap.Node right)
Specified by:
setRight in interface _NodeTreeMap_OzoneNode

setParent

public void setParent(BaseTreeMap.Node parent)
Specified by:
setParent in interface _NodeTreeMap_OzoneNode

setLeft

public void setLeft(BaseTreeMap.Node left)
Specified by:
setLeft in interface _NodeTreeMap_OzoneNode

setColor

public void setColor(int color)
Specified by:
setColor in interface _NodeTreeMap_OzoneNode

getRight

public BaseTreeMap.Node getRight()
Specified by:
getRight in interface BaseTreeMap.Node

getParent

public BaseTreeMap.Node getParent()
Specified by:
getParent in interface BaseTreeMap.Node

getLeft

public BaseTreeMap.Node getLeft()
Specified by:
getLeft in interface BaseTreeMap.Node

getColor

public int getColor()
Specified by:
getColor in interface BaseTreeMap.Node

isNil

public boolean isNil()
Specified by:
isNil in interface BaseTreeMap.Node


Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.