|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.util.WTCollectionWraper
Field Summary | |
private WTCollection |
collection
|
private int |
iteratorType
|
static int |
PERSISTABLE_ITERATOR
|
static int |
QUERYKEY_ITERATOR
|
static int |
REFERENCE_ITERATOR
|
Constructor Summary | |
WTCollectionWraper(WTCollection collection,
int iteratorType)
|
Method Summary | |
boolean |
add(Object o)
Ensures that this collection contains the specified element (optional operation). |
boolean |
addAll(Collection c)
Adds all of the elements in the specified collection to this collection (optional operation). |
void |
clear()
Removes all of the elements from this collection (optional operation). |
boolean |
contains(Object o)
Returns true if this collection contains the specified element. |
boolean |
containsAll(Collection c)
Returns true if this collection contains all of the elements in the specified collection. |
boolean |
equals(Object o)
Compares the specified object with this collection for equality. |
int |
hashCode()
Returns the hash code value for this collection. |
boolean |
isEmpty()
Returns true if this collection contains no elements. |
Iterator |
iterator()
Returns an iterator over the elements in this collection. |
boolean |
remove(Object o)
Removes a single instance of the specified element from this collection, if it is present (optional operation). |
boolean |
removeAll(Collection c)
Removes all this collection's elements that are also contained in the specified collection (optional operation). |
boolean |
retainAll(Collection c)
Retains only the elements in this collection that are contained in the specified collection (optional operation). |
int |
size()
Returns the number of elements in this collection. |
Object[] |
toArray()
Returns an array containing all of the elements in this collection. |
Object[] |
toArray(Object[] a)
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int REFERENCE_ITERATOR
public static final int PERSISTABLE_ITERATOR
public static final int QUERYKEY_ITERATOR
private WTCollection collection
private int iteratorType
Constructor Detail |
public WTCollectionWraper(WTCollection collection, int iteratorType)
Method Detail |
public int size()
size
in interface Collection
public boolean isEmpty()
isEmpty
in interface Collection
public boolean contains(Object o)
contains
in interface Collection
o
- element whose presence in this collection is to be tested.
public Iterator iterator()
iterator
in interface Collection
public Object[] toArray()
toArray
in interface Collection
public Object[] toArray(Object[] a)
toArray
in interface Collection
a
- the array into which the elements of this collection are to be
stored, if it is big enough; otherwise, a new array of the same runtime
type is allocated for this purpose.
public boolean add(Object o)
add
in interface Collection
o
- element whose presence in this collection is to be ensured.
public boolean remove(Object o)
remove
in interface Collection
o
- element to be removed from this collection, if present.
public boolean containsAll(Collection c)
containsAll
in interface Collection
c
- collection to be checked for containment in this collection.
public boolean addAll(Collection c)
addAll
in interface Collection
c
- elements to be inserted into this collection.
public boolean removeAll(Collection c)
removeAll
in interface Collection
c
- elements to be removed from this collection.
public boolean retainAll(Collection c)
retainAll
in interface Collection
c
- elements to be retained in this collection.
public void clear()
clear
in interface Collection
public boolean equals(Object o)
equals
in interface Collection
o
- Object to be compared for equality with this collection.
public int hashCode()
hashCode
in interface Collection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |