java.lang.Object
swim.structure.collections.ValueMap<K,V>
swim.structure.collections.ValueIterableMap<K,V>
swim.structure.collections.ValueOrderedMap<K,V>
swim.store.MapDataView<K,V>
- All Implemented Interfaces:
Iterable<Map.Entry<K,
,V>> Map<K,
,V> SortedMap<K,
,V> MapData<K,
,V> DataContext
,MapDataContext
,IterableMap<K,
,V> OrderedMap<K,
V>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
void
didClear()
void
void
didDrop
(long lower) void
void
didTake
(long upper) void
void
drop
(int lower) getIndex
(int index) boolean
isResident
(boolean isResident) boolean
isTransient
(boolean isTransient) <K2> MapDataView<K2,
V> <K2> MapDataView<K2,
V> name()
OrderedMap<K,
V> snapshot()
void
take
(int upper) <V2> MapDataView<K,
V2> valueClass
(Class<V2> valueClass) <V2> MapDataView<K,
V2> Methods inherited from class swim.structure.collections.ValueOrderedMap
comparator, firstEntry, firstKey, firstValue, getEntry, headMap, indexOf, inner, iterator, lastEntry, lastKey, lastValue, nextEntry, nextKey, nextValue, previousEntry, previousKey, previousValue, subMap, tailMap
Methods inherited from class swim.structure.collections.ValueIterableMap
keyIterator, valueIterator
Methods inherited from class swim.structure.collections.ValueMap
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keyForm, keySet, put, putAll, remove, size, toString, valueForm, values
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
Methods inherited from interface swim.util.OrderedMap
clear, comparator, containsKey, containsValue, entrySet, firstEntry, firstKey, firstValue, get, getEntry, headMap, indexOf, isEmpty, iterator, keyIterator, keySet, lastEntry, lastKey, lastValue, nextEntry, nextKey, nextValue, previousEntry, previousKey, previousValue, put, putAll, remove, size, subMap, tailMap, valueIterator, values
-
Constructor Details
-
MapDataView
-
-
Method Details
-
dataBinding
-
name
-
keyForm
-
keyClass
-
valueForm
-
valueClass
- Specified by:
valueClass
in interfaceMapData<K,
V> - Overrides:
valueClass
in classValueOrderedMap<K,
V>
-
isResident
public boolean isResident()- Specified by:
isResident
in interfaceMapData<K,
V>
-
isResident
- Specified by:
isResident
in interfaceMapData<K,
V>
-
isTransient
public boolean isTransient()- Specified by:
isTransient
in interfaceMapData<K,
V>
-
isTransient
- Specified by:
isTransient
in interfaceMapData<K,
V>
-
getIndex
- Specified by:
getIndex
in interfaceOrderedMap<K,
V> - Overrides:
getIndex
in classValueOrderedMap<K,
V>
-
drop
public void drop(int lower) -
take
public void take(int upper) -
snapshot
-
close
public void close() -
didChange
public void didChange()- Specified by:
didChange
in interfaceDataContext
-
didCommit
public void didCommit()- Specified by:
didCommit
in interfaceDataContext
-
didUpdate
- Specified by:
didUpdate
in interfaceMapDataContext
-
didRemove
- Specified by:
didRemove
in interfaceMapDataContext
-
didDrop
public void didDrop(long lower) - Specified by:
didDrop
in interfaceMapDataContext
-
didTake
public void didTake(long upper) - Specified by:
didTake
in interfaceMapDataContext
-
didClear
public void didClear()- Specified by:
didClear
in interfaceMapDataContext
-