| Constructor and Description |
|---|
ListStateImpl(ListStateDescriptor<V> descriptor,
AbstractKeyStateBackend backend) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(V value)
add the value to list
|
List<V> |
get()
get the value in state
|
void |
setCurrentKey(Object currentKey)
set current key of the state
|
void |
update(List<V> list)
update list state
|
public ListStateImpl(ListStateDescriptor<V> descriptor, AbstractKeyStateBackend backend)
public List<V> get()
UnaryStateget in interface UnaryState<List<V>>public void update(List<V> list)
ListStatepublic void setCurrentKey(Object currentKey)
StatesetCurrentKey in interface StateCopyright © 2020. All rights reserved.