|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
org.apache.ojb.odmg.collections.DListImpl
org.apache.ojb.odmg.collections.DBagImpl
Insert the type's description here. Creation date: (25.02.2001 12:53:12)
| Nested Class Summary |
| Nested classes inherited from class java.util.AbstractList |
|
| Field Summary |
| Fields inherited from class org.apache.ojb.odmg.collections.DListImpl |
pbKey |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
DBagImpl()
|
|
DBagImpl(int theId,
int theSize)
DBagImpl constructor comment. |
|
DBagImpl(PBKey key)
DBagImpl constructor comment. |
|
| Method Summary | |
DBag |
difference(DBag otherBag)
A new DBag instance is created that contains the difference of
this object and the DBag instance referenced by otherBag. |
DBag |
intersection(DBag otherBag)
A new DBag instance is created that contains the intersection of
this object and the DBag referenced by otherBag. |
int |
occurrences(java.lang.Object obj)
This method returns the number of occurrences of the object obj
in the DBag collection. |
DBag |
union(DBag otherBag)
A new DBag instance is created that is the union of this object
and otherBag. |
| Methods inherited from class org.apache.ojb.odmg.collections.DListImpl |
add, afterStore, concat, existsElement, generateNewId, get, getElements, getId, getPBKey, getSize, iterator, listIterator, listIterator, ojbAdd, ojbAddAll, ojbIterator, query, remove, resize, select, selectElement, setElements, setId, setPBKey, setSize, size |
| Methods inherited from class java.util.AbstractList |
add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.odmg.DCollection |
existsElement, query, select, selectElement |
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Methods inherited from interface java.util.List |
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, lastIndexOf, remove, removeAll, retainAll, set, subList, toArray, toArray |
| Constructor Detail |
public DBagImpl()
public DBagImpl(PBKey key)
public DBagImpl(int theId,
int theSize)
theId - inttheSize - int| Method Detail |
public DBag difference(DBag otherBag)
DBag instance is created that contains the difference of
this object and the DBag instance referenced by otherBag.
This method is similar to the removeAll method in Collection,
except that this method creates a new collection and removeAll
modifies the object to contain the result.
difference in interface DBagotherBag - The other bag to use in creating the difference.
DBag instance that contains the elements of this object
minus the elements in otherBag.public DBag intersection(DBag otherBag)
DBag instance is created that contains the intersection of
this object and the DBag referenced by otherBag.
This method is similar to the retainAll method in Collection,
except that this method creates a new collection and retainAll
modifies the object to contain the result.
intersection in interface DBagotherBag - The other bag to use in creating the intersection.
DBag instance that contains the intersection of this
object and otherBag.public int occurrences(java.lang.Object obj)
obj
in the DBag collection.
occurrences in interface DBagobj - The value that may have elements in the collection.
obj in this collection.public DBag union(DBag otherBag)
DBag instance is created that is the union of this object
and otherBag.
This method is similar to the addAll method in Collection,
except that this method creates a new collection and addAll
modifies the object to contain the result.
union in interface DBagotherBag - The other bag to use in the union operation.
DBag instance that contains the union of this object
and otherBag.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||