- 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>
 
 public class MapDataView<K,V> extends ValueOrderedMap<K,V> implements MapData<K,V>, MapDataContext 
- 
- 
Constructor SummaryConstructors Constructor Description MapDataView(MapDataBinding dataBinding, Form<K> keyForm, Form<V> valueForm)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()MapDataBindingdataBinding()voiddidChange()voiddidClear()voiddidCommit()voiddidDrop(long lower)voiddidRemove(Value key, Value oldValue)voiddidTake(long upper)voiddidUpdate(Value key, Value newValue, Value oldValue)voiddrop(int lower)Map.Entry<K,V>getIndex(int index)booleanisResident()MapDataView<K,V>isResident(boolean isResident)booleanisTransient()MapDataView<K,V>isTransient(boolean isTransient)<K2> MapDataView<K2,V>keyClass(Class<K2> keyClass)<K2> MapDataView<K2,V>keyForm(Form<K2> keyForm)Valuename()OrderedMap<K,V>snapshot()voidtake(int upper)<V2> MapDataView<K,V2>valueClass(Class<V2> valueClass)<V2> MapDataView<K,V2>valueForm(Form<V2> valueForm)- 
Methods inherited from class swim.structure.collections.ValueOrderedMapcomparator, 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.ValueIterableMapkeyIterator, valueIterator
 - 
Methods inherited from class swim.structure.collections.ValueMapclear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keyForm, keySet, put, putAll, remove, size, toString, valueForm, values
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 - 
Methods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
 - 
Methods inherited from interface swim.util.OrderedMapclear, 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 Detail- 
MapDataViewpublic MapDataView(MapDataBinding dataBinding, Form<K> keyForm, Form<V> valueForm) 
 
- 
 - 
Method Detail- 
dataBindingpublic MapDataBinding dataBinding() 
 - 
keyFormpublic <K2> MapDataView<K2,V> keyForm(Form<K2> keyForm) 
 - 
keyClasspublic <K2> MapDataView<K2,V> keyClass(Class<K2> keyClass) 
 - 
valueFormpublic <V2> MapDataView<K,V2> valueForm(Form<V2> valueForm) 
 - 
valueClasspublic <V2> MapDataView<K,V2> valueClass(Class<V2> valueClass) - Specified by:
- valueClassin interface- MapData<K,V>
- Overrides:
- valueClassin class- ValueOrderedMap<K,V>
 
 - 
isResidentpublic boolean isResident() - Specified by:
- isResidentin interface- MapData<K,V>
 
 - 
isResidentpublic MapDataView<K,V> isResident(boolean isResident) - Specified by:
- isResidentin interface- MapData<K,V>
 
 - 
isTransientpublic boolean isTransient() - Specified by:
- isTransientin interface- MapData<K,V>
 
 - 
isTransientpublic MapDataView<K,V> isTransient(boolean isTransient) - Specified by:
- isTransientin interface- MapData<K,V>
 
 - 
getIndexpublic Map.Entry<K,V> getIndex(int index) - Specified by:
- getIndexin interface- OrderedMap<K,V>
- Overrides:
- getIndexin class- ValueOrderedMap<K,V>
 
 - 
didChangepublic void didChange() - Specified by:
- didChangein interface- DataContext
 
 - 
didCommitpublic void didCommit() - Specified by:
- didCommitin interface- DataContext
 
 - 
didUpdatepublic void didUpdate(Value key, Value newValue, Value oldValue) - Specified by:
- didUpdatein interface- MapDataContext
 
 - 
didRemovepublic void didRemove(Value key, Value oldValue) - Specified by:
- didRemovein interface- MapDataContext
 
 - 
didDroppublic void didDrop(long lower) - Specified by:
- didDropin interface- MapDataContext
 
 - 
didTakepublic void didTake(long upper) - Specified by:
- didTakein interface- MapDataContext
 
 - 
didClearpublic void didClear() - Specified by:
- didClearin interface- MapDataContext
 
 
- 
 
-