N
- the type of namespaceEK
- the external type of the MapView
keyEV
- the external type of the MapView
value@Internal public abstract class StateMapView<N,EK,EV> extends MapView<EK,EV> implements StateDataView<N>
MapView
which is implemented using state backends.Modifier and Type | Class and Description |
---|---|
static class |
StateMapView.KeyedStateMapViewWithKeysNotNull<N,EK,EV>
A state
MapView which does not support nullable keys and namespace. |
static class |
StateMapView.KeyedStateMapViewWithKeysNullable<N,EK,EV>
A state
MapView which supports nullable keys but does not support namespace. |
static class |
StateMapView.NamespacedStateMapViewWithKeysNotNull<N,EK,EV>
A state
MapView which supports namespace but does not support nullable keys. |
static class |
StateMapView.NamespacedStateMapViewWithKeysNullable<N,EK,EV>
A state
MapView which supports nullable keys and namespace. |
Constructor and Description |
---|
StateMapView() |
Modifier and Type | Method and Description |
---|---|
Map<EK,EV> |
getMap()
Returns the entire view's content as an instance of
Map . |
void |
setMap(Map<EK,EV> map)
Replaces the entire view's content with the content of the given
Map . |
clear, contains, entries, equals, get, hashCode, isEmpty, iterator, keys, newMapViewDataType, put, putAll, remove, values
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setCurrentNamespace
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.