ozone API

org.ozoneDB.DxLib
Class DxAbstractSet

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

public abstract class DxAbstractSet
extends DxAbstractCollection
implements DxSet

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

Constructor Summary
DxAbstractSet()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares two collections for equality.
 boolean retainAll(DxCollection coll)
          Retain only the elements in this set that are contained in the specified collection
 
Methods inherited from class org.ozoneDB.DxLib.DxAbstractCollection
addAll, addAll, clone, contains, containsAll, readExternal, remove, removeAll, toArray, valueClone, writeExternal
 
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.DxCollection
add, addAll, addAll, clear, clone, contains, containsAll, count, isEmpty, iterator, remove, removeAll, toArray, valueClone
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
isLess
 

Constructor Detail

DxAbstractSet

public DxAbstractSet()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Description copied from class: DxAbstractCollection
Compares two collections for equality. You have to override this method in the implementation of an actual collections in order to provide another behaviour than the one implemented in Objects.equals().

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

retainAll

public boolean retainAll(DxCollection coll)
Description copied from interface: DxSet
Retain only the elements in this set that are contained in the specified collection

Specified by:
retainAll in interface DxSet

ozone API

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