ozone core API

org.ozoneDB.DxLib
Class DxHashSet

java.lang.Object
  extended byorg.ozoneDB.DxLib.DxObject
      extended byorg.ozoneDB.DxLib.DxAbstractCollection
          extended byorg.ozoneDB.DxLib.DxAbstractSet
              extended byorg.ozoneDB.DxLib.DxHashSet
All Implemented Interfaces:
java.lang.Cloneable, DxCollection, DxCompatible, DxHashCollection, DxSet, java.io.Externalizable, java.io.Serializable

public class DxHashSet
extends DxAbstractSet
implements DxHashCollection

Version:
$Revision: 1.1.2.1 $Date: 2002/05/21 20:14:38 $
Author:
SMB
See Also:
Serialized Form

Field Summary
protected  java.util.Hashtable ht
           
(package private) static long serialVersionUID
           
 
Constructor Summary
DxHashSet()
           
DxHashSet(int initSize)
           
 
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 org.ozoneDB.DxLib.DxAbstractSet
equals, retainAll
 
Methods inherited from class org.ozoneDB.DxLib.DxAbstractCollection
addAll, addAll, clone, containsAll, readExternal, removeAll, toArray, valueClone, writeExternal
 
Methods inherited from class org.ozoneDB.DxLib.DxObject
isLess
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.DxLib.DxCollection
addAll, addAll, containsAll, removeAll, toArray, valueClone
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
equals, isLess
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

ht

protected java.util.Hashtable ht
Constructor Detail

DxHashSet

public DxHashSet()

DxHashSet

public DxHashSet(int initSize)
Method Detail

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 DxHashCollection

toString

public java.lang.String toString()

ozone core API

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