|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.datamixer.collections.DatamixerCollection
org.datamixer.collections.CollectionWrapper
Wrapper for Collection.
| Field Summary | |
protected java.util.Collection |
collection_
the associated collection |
| Fields inherited from class org.datamixer.collections.DatamixerCollection |
dataType_, debugEnabled_, formatPattern_, id_, initialized_, logger_, name_, repeat_ |
| Constructor Summary | |
CollectionWrapper()
|
|
CollectionWrapper(java.util.Collection collection)
|
|
| Method Summary | |
boolean |
contains(java.lang.Object obj)
Returns true if this collection contains obj. |
boolean |
containsAll(java.util.Collection coll)
Returns true if this collection contains all of the elements
in coll. |
protected DatamixerIterator |
createIterator()
Returns an iterator over the elements contained in this collection. |
protected int |
doGetSize()
Returns the number of elements in this collection. |
java.util.Collection |
getCollection()
|
boolean |
isEmpty()
Returns true if this collection contains no elements. |
void |
setCollection(java.util.Collection value)
|
java.lang.Object[] |
toArray()
Returns an array containing all of the elements in this collection. |
java.lang.Object[] |
toArray(java.lang.Object[] target)
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that target. |
| Methods inherited from class org.datamixer.collections.DatamixerCollection |
add, addAll, clear, doInitialize, error, getDatamixerIterator, getDataType, getFormatPattern, getId, getName, getRepeat, getSize, initialize, iterator, remove, removeAll, retainAll, setDataType, setFormatPattern, setId, setName, setRepeat, size |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
equals, hashCode |
| Field Detail |
protected java.util.Collection collection_
| Constructor Detail |
public CollectionWrapper()
public CollectionWrapper(java.util.Collection collection)
| Method Detail |
public boolean contains(java.lang.Object obj)
true if this collection contains obj.
contains in interface java.util.Collectioncontains in class DatamixerCollectionpublic boolean containsAll(java.util.Collection coll)
true if this collection contains all of the elements
in coll.
containsAll in interface java.util.CollectioncontainsAll in class DatamixerCollectionpublic boolean isEmpty()
true if this collection contains no elements.
isEmpty in interface java.util.CollectionisEmpty in class DatamixerCollectionpublic java.lang.Object[] toArray()
toArray in interface java.util.CollectiontoArray in class DatamixerCollectionpublic java.lang.Object[] toArray(java.lang.Object[] target)
target.
toArray in interface java.util.CollectiontoArray in class DatamixerCollectionprotected DatamixerIterator createIterator()
createIterator in class DatamixerCollectionprotected int doGetSize()
Integer.MAX_VALUE elements, returns
Integer.MAX_VALUE.
doGetSize in class DatamixerCollectionpublic java.util.Collection getCollection()
public void setCollection(java.util.Collection value)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||