ozone API

org.ozoneDB.DxLib
Class DxAbstractBag

java.lang.Object
  |
  +--org.ozoneDB.DxLib.DxObject
        |
        +--org.ozoneDB.DxLib.DxAbstractCollection
              |
              +--org.ozoneDB.DxLib.DxAbstractBag
All Implemented Interfaces:
java.lang.Cloneable, DxBag, DxCollection, DxCompatible, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
DxArrayBag, DxListBag

public abstract class DxAbstractBag
extends DxAbstractCollection
implements DxBag

Version:
$Revision: 1.1 $Date: 2001/12/18 10:31:30 $
Author:
SMB
See Also:
Serialized Form

Constructor Summary
DxAbstractBag()
           
 
Method Summary
 boolean add(java.lang.Object obj)
           
 boolean addBack(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
          Compares two bags for equality.
 
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.DxBag
addFront
 
Methods inherited from interface org.ozoneDB.DxLib.DxCollection
addAll, addAll, clear, clone, contains, containsAll, count, isEmpty, iterator, remove, removeAll, toArray, valueClone
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
isLess
 

Constructor Detail

DxAbstractBag

public DxAbstractBag()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Compares two bags for equality. Returns true, if obj is also a DxBag, both bags have the same size and it contains all elements in the same order as the receiver.

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

addBack

public boolean addBack(java.lang.Object obj)
Specified by:
addBack in interface DxBag

ozone API

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