public static final class StateListView.NamespacedStateListView<N,T> extends StateListView<N,T>
StateListView.NamespacedStateListView
is an StateListView
whose underlying representation
is a keyed and namespaced state. It also support to change current namespace.StateListView.KeyedStateListView<N,T>, StateListView.NamespacedStateListView<N,T>
elementType
Constructor and Description |
---|
NamespacedStateListView(InternalListState<?,N,T> listState) |
Modifier and Type | Method and Description |
---|---|
protected ListState<T> |
getListState() |
void |
setCurrentNamespace(N namespace)
Sets current namespace for state.
|
add, addAll, clear, get, getList, remove, setList
equals, hashCode, newListViewDataType
public NamespacedStateListView(InternalListState<?,N,T> listState)
public void setCurrentNamespace(N namespace)
StateDataView
protected ListState<T> getListState()
getListState
in class StateListView<N,T>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.