public class ChoosableArrayListImpl<T> extends Object implements ChoosableArrayList<T>
emptyChoosable| Constructor and Description |
|---|
ChoosableArrayListImpl() |
| Modifier and Type | Method and Description |
|---|---|
ChoosableArrayList<T> |
add(T value) |
T |
choose()
Return the next element T in a round robin fashion.
|
boolean |
equals(Object o) |
T |
first() |
int |
hashCode() |
boolean |
isEmpty()
Is it empty?
|
Iterator<T> |
iterator() |
void |
readExternal(ObjectInput in) |
void |
readFrom(DataInput in) |
ChoosableArrayList<T> |
remove(T value) |
int |
size() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeTo(DataOutput out) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic ChoosableArrayList<T> add(T value)
add in interface ChoosableArrayList<T>public ChoosableArrayList<T> remove(T value)
remove in interface ChoosableArrayList<T>public T first()
first in interface ChoosableArrayList<T>public int size()
size in interface ChoosableArrayList<T>public boolean isEmpty()
ChoosableIterableisEmpty in interface ChoosableIterable<T>public T choose()
ChoosableIterablechoose in interface ChoosableIterable<T>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizableIOExceptionpublic void writeTo(DataOutput out) throws Exception
writeTo in interface org.jgroups.util.StreamableExceptionpublic void readFrom(DataInput in) throws Exception
readFrom in interface org.jgroups.util.StreamableExceptionCopyright © 2015. All rights reserved.