public class MemorySetState<T> extends TransactionalMemoryMapState<Set<T>> implements SetState<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
MemorySetState.Factory<T> |
TransactionalMemoryMapState.MemoryMapStateBacking<T>| Constructor and Description |
|---|
MemorySetState(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T e)
Adds the specified element to this set if it is not already present.
|
boolean |
addAll(Collection<? extends T> c)
Adds all of the elements in the specified collection to this set if
they're not already present (optional operation).
|
void |
clear()
Clear the whole
Set contained in this State |
Set<T> |
get() |
beginCommit, commit, getTuples, multiGet, multiPut, multiUpdate, set, updatepublic MemorySetState(String id)
public boolean add(T e)
SetStatepublic boolean addAll(Collection<? extends T> c)
SetStateCopyright © 2013. All rights reserved.