|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - type of elements contained in bagpublic interface Bag<T>
A bag of elements.
| Method Summary | ||
|---|---|---|
boolean |
add(T o)
|
|
boolean |
add(T o,
byte flags)
|
|
boolean |
addAll(Collection<? extends T> c)
|
|
boolean |
addAll(Collection<? extends T> c,
byte flags)
|
|
void |
clear()
Not supported by this class. |
|
void |
clear(byte flags)
Not supported by this class. |
|
boolean |
contains(Object o)
Not supported by this class. |
|
boolean |
contains(Object o,
byte flags)
Not supported by this class. |
|
boolean |
containsAll(Collection<?> c)
Not supported by this class. |
|
boolean |
containsAll(Collection<?> c,
byte flags)
Not supported by this class. |
|
boolean |
isEmpty()
Not supported by this class. |
|
boolean |
isEmpty(byte flags)
Not supported by this class. |
|
Iterator<T> |
iterator()
. |
|
Iterator<T> |
iterator(byte flags)
Iterates over all the elements in the bag. |
|
boolean |
remove(Object o)
Not supported by this class. |
|
boolean |
remove(Object o,
byte flags)
Not supported by this class. |
|
boolean |
removeAll(Collection<?> c)
Not supported by this class. |
|
boolean |
removeAll(Collection<?> c,
byte flags)
Not supported by this class. |
|
boolean |
retainAll(Collection<?> c)
Not supported by this class. |
|
boolean |
retainAll(Collection<?> c,
byte flags)
Not supported by this class. |
|
int |
size()
. |
|
int |
size(byte flags)
Number of elements in the bag. |
|
Object[] |
toArray()
Not supported by this class. |
|
Object[] |
toArray(byte flags)
Not supported by this class. |
|
|
toArray(U[] a)
Not supported by this class. |
|
|
toArray(U[] a,
byte flags)
Not supported by this class. |
|
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Methods inherited from interface galois.objects.GObject |
|---|
access |
| Method Detail |
|---|
boolean add(T o)
add in interface Collection<T>
boolean add(T o,
byte flags)
flags - Galois runtime actions (e.g., conflict detection) that need to be executed
upon invocation of this method. See MethodFlagadd(Object)boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T>
boolean addAll(Collection<? extends T> c,
byte flags)
flags - Galois runtime actions (e.g., conflict detection) that need to be executed
upon invocation of this method. See MethodFlagaddAll(Collection)void clear()
clear in interface Collection<T>void clear(byte flags)
boolean contains(Object o)
contains in interface Collection<T>
boolean contains(Object o,
byte flags)
boolean containsAll(Collection<?> c)
containsAll in interface Collection<T>
boolean containsAll(Collection<?> c,
byte flags)
boolean isEmpty()
isEmpty in interface Collection<T>boolean isEmpty(byte flags)
Iterator<T> iterator()
iterator in interface Collection<T>iterator in interface Iterable<T>Iterator<T> iterator(byte flags)
flags - Galois runtime actions (e.g., conflict detection) that need to be executed
upon invocation of this method. See MethodFlagiterator()boolean remove(Object o)
remove in interface Collection<T>
boolean remove(Object o,
byte flags)
boolean removeAll(Collection<?> c)
removeAll in interface Collection<T>
boolean removeAll(Collection<?> c,
byte flags)
boolean retainAll(Collection<?> c)
retainAll in interface Collection<T>
boolean retainAll(Collection<?> c,
byte flags)
int size()
size in interface Collection<T>int size(byte flags)
flags - Galois runtime actions (e.g., conflict detection) that need to be executed
upon invocation of this method. See MethodFlag
Object[] toArray()
toArray in interface Collection<T>Object[] toArray(byte flags)
<U> U[] toArray(U[] a)
toArray in interface Collection<T>
<U> U[] toArray(U[] a,
byte flags)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||