org.ozoneDB.DxLib
Class DxHashSet
java.lang.Object
org.ozoneDB.DxLib.DxObject
org.ozoneDB.DxLib.DxAbstractCollection
org.ozoneDB.DxLib.DxAbstractSet
org.ozoneDB.DxLib.DxHashSet
- All Implemented Interfaces:
- java.lang.Cloneable, DxCollection, DxCompatible, org.ozoneDB.DxLib.DxHashCollection, DxSet, java.io.Externalizable, java.io.Serializable
- public class DxHashSet
- extends DxAbstractSet
- implements org.ozoneDB.DxLib.DxHashCollection
- Version:
- $Revision: 1.1.2.1 $Date: 2002/05/21 20:14:38 $
- Author:
- SMB
- See Also:
- Serialized Form
Method Summary |
boolean |
add(java.lang.Object obj)
|
void |
clear()
|
java.lang.Object |
clone()
liefert eine kopie des objektes;
sollte von subclasses ueberschrieben werden; |
boolean |
contains(java.lang.Object obj)
Returns true is this collection contains an object that equals
to the specified object. |
int |
count()
|
java.util.Hashtable |
internalHashtable()
|
boolean |
isEmpty()
|
DxIterator |
iterator()
|
boolean |
remove(java.lang.Object obj)
Remove the first occurence of an object that equals the the
specified object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
DxHashSet
public DxHashSet()
DxHashSet
public DxHashSet(int initSize)
clone
public java.lang.Object clone()
- Description copied from class:
DxObject
- liefert eine kopie des objektes;
sollte von subclasses ueberschrieben werden;
- Specified by:
clone
in interface DxCollection
- Overrides:
clone
in class DxObject
add
public boolean add(java.lang.Object obj)
- Specified by:
add
in interface DxCollection
remove
public boolean remove(java.lang.Object obj)
- Description copied from class:
DxAbstractCollection
- Remove the first occurence of an object that equals the the
specified object.
- Specified by:
remove
in interface DxCollection
- Overrides:
remove
in class DxAbstractCollection
contains
public boolean contains(java.lang.Object obj)
- Description copied from class:
DxAbstractCollection
- Returns true is this collection contains an object that equals
to the specified object.
- Specified by:
contains
in interface DxCollection
- Overrides:
contains
in class DxAbstractCollection
iterator
public DxIterator iterator()
- Specified by:
iterator
in interface DxCollection
count
public int count()
- Specified by:
count
in interface DxCollection
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface DxCollection
clear
public void clear()
- Specified by:
clear
in interface DxCollection
internalHashtable
public java.util.Hashtable internalHashtable()
- Specified by:
internalHashtable
in interface org.ozoneDB.DxLib.DxHashCollection
toString
public java.lang.String toString()
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.