ozone API

org.ozoneDB.DxLib
Interface DxMap

All Superinterfaces:
java.lang.Cloneable, DxCollection, DxCompatible, java.io.Serializable
All Known Implementing Classes:
DxAbstractMap, DxMultiMap

public interface DxMap
extends DxCollection

Version:
$Revision: 1.5 $Date: 2000/10/28 16:55:14 $
Author:
SMB

Method Summary
 boolean addForKey(java.lang.Object obj, java.lang.Object key)
           
 java.lang.Object buildKey(java.lang.Object obj)
          This method is not declared abstract because it does not need to be implemented in any case.
 boolean containsKey(java.lang.Object key)
           
 java.lang.Object elementForKey(java.lang.Object key)
           
 DxSet elementSet()
           
 java.lang.Object keyForElement(java.lang.Object obj)
          Returns the key for the given object, which has to be the same object as stored in the map.
 DxSet keySet()
           
 boolean removeAllKeys(DxCollection coll)
           
 java.lang.Object removeForKey(java.lang.Object key)
           
 
Methods inherited from interface org.ozoneDB.DxLib.DxCollection
add, addAll, addAll, clear, clone, contains, containsAll, count, isEmpty, iterator, remove, removeAll, toArray, valueClone
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
equals, isLess
 

Method Detail

addForKey

public boolean addForKey(java.lang.Object obj,
                         java.lang.Object key)

elementForKey

public java.lang.Object elementForKey(java.lang.Object key)

keyForElement

public java.lang.Object keyForElement(java.lang.Object obj)
Returns the key for the given object, which has to be the same object as stored in the map.


removeForKey

public java.lang.Object removeForKey(java.lang.Object key)

removeAllKeys

public boolean removeAllKeys(DxCollection coll)

buildKey

public java.lang.Object buildKey(java.lang.Object obj)
This method is not declared abstract because it does not need to be implemented in any case.


containsKey

public boolean containsKey(java.lang.Object key)

keySet

public DxSet keySet()

elementSet

public DxSet elementSet()

ozone API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.