|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basho.riak.client.util.CollectionWrapper<T>
T - WARNING: This class will be REMOVED in the next version.
@Deprecated public abstract class CollectionWrapper<T>
CollectionWrapper| Constructor Summary | |
|---|---|
CollectionWrapper()
Deprecated. |
|
| Method Summary | ||
|---|---|---|
boolean |
add(T e)
Deprecated. |
|
boolean |
addAll(Collection<? extends T> c)
Deprecated. |
|
protected void |
cache(T object)
Deprecated. Called by subclasses to add an object to the cache when executing cacheNext(). |
|
protected abstract boolean |
cacheNext()
Deprecated. Cache one or more objects from the backend by calling cache(T) |
|
void |
clear()
Deprecated. |
|
protected abstract void |
closeBackend()
Deprecated. Close the backend so no more objects can be read from it (getNext() should only return null afterwards). |
|
boolean |
contains(Object o)
Deprecated. |
|
boolean |
containsAll(Collection<?> c)
Deprecated. |
|
boolean |
isEmpty()
Deprecated. |
|
Iterator<T> |
iterator()
Deprecated. |
|
boolean |
remove(Object o)
Deprecated. |
|
boolean |
removeAll(Collection<?> c)
Deprecated. |
|
boolean |
retainAll(Collection<?> c)
Deprecated. |
|
int |
size()
Deprecated. |
|
Object[] |
toArray()
Deprecated. |
|
|
toArray(A[] a)
Deprecated. |
|
| 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 |
| Constructor Detail |
|---|
public CollectionWrapper()
| Method Detail |
|---|
protected abstract boolean cacheNext()
protected abstract void closeBackend()
protected void cache(T object)
public boolean add(T e)
add in interface Collection<T>public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T>public void clear()
clear in interface Collection<T>public boolean contains(Object o)
contains in interface Collection<T>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<T>public boolean isEmpty()
isEmpty in interface Collection<T>public Iterator<T> iterator()
iterator in interface Iterable<T>iterator in interface Collection<T>public boolean remove(Object o)
remove in interface Collection<T>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<T>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<T>public int size()
size in interface Collection<T>public Object[] toArray()
toArray in interface Collection<T>public <A> A[] toArray(A[] a)
toArray in interface Collection<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||