ozone API

org.ozoneDB.DxLib
Class DxAbstractMap

java.lang.Object
  extended byorg.ozoneDB.DxLib.DxObject
      extended byorg.ozoneDB.DxLib.DxAbstractCollection
          extended byorg.ozoneDB.DxLib.DxAbstractMap
All Implemented Interfaces:
java.lang.Cloneable, DxCollection, DxCompatible, DxMap, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
DxDiskHashMap, DxHashMap, DxTreeMap

public abstract class DxAbstractMap
extends DxAbstractCollection
implements DxMap, java.io.Externalizable

Version:
$Revision: 1.9 $Date: 2000/10/28 16:55:14 $
Author:
SMB
See Also:
Serialized Form

Constructor Summary
DxAbstractMap()
           
 
Method Summary
 boolean add(java.lang.Object obj)
           
 boolean addAll(DxCollection coll)
           
 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.
 java.lang.Object clone(DxMap newMap)
           
 boolean containsKey(java.lang.Object key)
           
 DxSet elementSet()
           
 boolean equals(java.lang.Object obj)
          Compares two maps for equality.
 DxSet keySet()
           
 void readExternal(java.io.ObjectInput in)
           
 boolean removeAllKeys(DxCollection coll)
           
 DxCollection valueClone()
          erzeugt einen clone der collection und der objekte; Achtung: alle objekte in der collection muessen DxCompatible sein
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class org.ozoneDB.DxLib.DxAbstractCollection
addAll, clone, contains, containsAll, remove, removeAll, toArray
 
Methods inherited from class org.ozoneDB.DxLib.DxObject
clone, isLess
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.DxLib.DxMap
addForKey, elementForKey, keyForElement, removeForKey
 
Methods inherited from interface org.ozoneDB.DxLib.DxCollection
addAll, clear, clone, contains, containsAll, count, isEmpty, iterator, remove, removeAll, toArray
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
isLess
 

Constructor Detail

DxAbstractMap

public DxAbstractMap()
Method Detail

clone

public java.lang.Object clone(DxMap newMap)

valueClone

public DxCollection valueClone()
Description copied from class: DxAbstractCollection
erzeugt einen clone der collection und der objekte; Achtung: alle objekte in der collection muessen DxCompatible sein

Specified by:
valueClone in interface DxCollection
Overrides:
valueClone in class DxAbstractCollection

equals

public boolean equals(java.lang.Object obj)
Compares two maps for equality. Returns true if the keySets are equal.

Specified by:
equals in interface DxCompatible
Overrides:
equals in class DxAbstractCollection

add

public boolean add(java.lang.Object obj)
Specified by:
add in interface DxCollection

addAll

public boolean addAll(DxCollection coll)
Specified by:
addAll in interface DxCollection
Overrides:
addAll in class DxAbstractCollection

removeAllKeys

public boolean removeAllKeys(DxCollection coll)
Specified by:
removeAllKeys in interface DxMap

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.

Specified by:
buildKey in interface DxMap

containsKey

public boolean containsKey(java.lang.Object key)
Specified by:
containsKey in interface DxMap

keySet

public DxSet keySet()
Specified by:
keySet in interface DxMap

elementSet

public DxSet elementSet()
Specified by:
elementSet in interface DxMap

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class DxAbstractCollection
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class DxAbstractCollection
Throws:
java.io.IOException
java.lang.ClassNotFoundException

ozone API

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