@Deprecated public class GrabberCollection<O,G> extends Object implements Collection<G>, CachedIF
| Modifier and Type | Field and Description |
|---|---|
protected Collection<O> |
coll
Deprecated.
|
protected DeciderIF<G> |
decider
Deprecated.
|
protected boolean |
grabbed
Deprecated.
|
protected Collection<G> |
grabbed_coll
Deprecated.
|
protected GrabberIF<O,G> |
grabber
Deprecated.
|
| Constructor and Description |
|---|
GrabberCollection(Collection<O> coll,
GrabberIF<O,G> grabber)
Deprecated.
|
GrabberCollection(Collection<O> coll,
GrabberIF<O,G> grabber,
DeciderIF<G> decider)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(G o)
Deprecated.
|
boolean |
addAll(Collection<? extends G> c)
Deprecated.
|
void |
clear()
Deprecated.
|
boolean |
contains(Object o)
Deprecated.
|
boolean |
containsAll(Collection<?> c)
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
protected Collection<G> |
getCollection()
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
Iterator<G> |
iterator()
Deprecated.
|
void |
refresh()
Deprecated.
Refreshes the collection by looping over the nested collection
and regrabbing its items.
|
boolean |
remove(Object o)
Deprecated.
|
boolean |
removeAll(Collection<?> c)
Deprecated.
|
boolean |
retainAll(Collection<?> c)
Deprecated.
|
int |
size()
Deprecated.
|
Object[] |
toArray()
Deprecated.
|
<G> G[] |
toArray(G[] a)
Deprecated.
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithashCode, parallelStream, removeIf, spliterator, streamprotected Collection<O> coll
protected boolean grabbed
protected Collection<G> grabbed_coll
public GrabberCollection(Collection<O> coll, GrabberIF<O,G> grabber)
public void refresh()
protected Collection<G> getCollection()
public void clear()
clear in interface Collection<G>public boolean contains(Object o)
contains in interface Collection<G>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<G>public boolean equals(Object o)
equals in interface Collection<G>equals in class Objectpublic boolean isEmpty()
isEmpty in interface Collection<G>public int size()
size in interface Collection<G>public Object[] toArray()
toArray in interface Collection<G>public <G> G[] toArray(G[] a)
toArray in interface Collection<G>public boolean add(G o)
add in interface Collection<G>public boolean addAll(Collection<? extends G> c)
addAll in interface Collection<G>public boolean remove(Object o)
remove in interface Collection<G>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<G>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<G>