org.ozoneDB.DxLib
Class DxAbstractMap
java.lang.Object
org.ozoneDB.DxLib.DxObject
org.ozoneDB.DxLib.DxAbstractCollection
org.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
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ozoneDB.DxLib.DxCollection |
addAll, clear, clone, contains, containsAll, count, isEmpty, iterator, remove, removeAll, toArray |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
DxAbstractMap
public DxAbstractMap()
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
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.