public interface CollectionState<T extends CollectionState<T,U>,U> extends Collection<U>
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(U value) |
boolean |
addAll(Collection<? extends U> c) |
void |
clear() |
boolean |
contains(Object value) |
boolean |
containsAll(Collection<?> c) |
void |
init(StateContext<T> context)
Initializes the state.
|
boolean |
isEmpty() |
boolean |
remove(Object value) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
equals, hashCode, iterator, parallelStream, removeIf, spliterator, stream, toArray, toArrayvoid init(StateContext<T> context)
context - The state context.boolean add(U value)
add in interface Collection<U>boolean addAll(Collection<? extends U> c)
addAll in interface Collection<U>boolean retainAll(Collection<?> c)
retainAll in interface Collection<U>boolean remove(Object value)
remove in interface Collection<U>boolean removeAll(Collection<?> c)
removeAll in interface Collection<U>boolean contains(Object value)
contains in interface Collection<U>boolean containsAll(Collection<?> c)
containsAll in interface Collection<U>int size()
size in interface Collection<U>boolean isEmpty()
isEmpty in interface Collection<U>void clear()
clear in interface Collection<U>Copyright © 2013-2015. All Rights Reserved.