-
- All Superinterfaces:
Inlet<Map<K,V>>
,Iterable<Map.Entry<K,V>>
,IterableMap<K,V>
,Lane
,Log
,Map<K,V>
,MapInlet<K,V,Map<K,V>>
,MapOutlet<K,V,MapLane<K,V>>
,Observable<Object>
,ObservableIterableMap<K,V>
,ObservableMap<K,V>
,ObservableOrderedMap<K,V>
,ObservableSortedMap<K,V>
,OrderedMap<K,V>
,Outlet<MapLane<K,V>>
,SortedMap<K,V>
,WarpLane
- All Known Implementing Classes:
MapLaneView
public interface MapLane<K,V> extends WarpLane, ObservableOrderedMap<K,V>, MapInlet<K,V,Map<K,V>>, MapOutlet<K,V,MapLane<K,V>>
-
-
Method Summary
-
Methods inherited from interface swim.streamlet.Inlet
bindInput, decohereOutput, disconnectInputs, disconnectOutputs, input, recohereOutput, unbindInput
-
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.streamlet.MapInlet
decohereOutputKey, recohereOutputKey
-
Methods inherited from interface swim.streamlet.MapOutlet
containsKey, decohereInputKey, filter, get, map, memoize, outlet, recohereInputKey, reduce, watch
-
Methods inherited from interface swim.observable.ObservableSortedMap
drop, take
-
Methods inherited from interface swim.util.OrderedMap
clear, comparator, containsKey, containsValue, entrySet, firstEntry, firstKey, firstValue, get, getEntry, getIndex, headMap, indexOf, isEmpty, iterator, keySet, lastEntry, lastKey, lastValue, nextEntry, nextKey, nextValue, previousEntry, previousKey, previousValue, put, putAll, remove, size, subMap, tailMap, valueIterator, values
-
Methods inherited from interface swim.streamlet.Outlet
bindOutput, decohereInput, disconnectInputs, disconnectOutputs, get, map, outputIterator, recohereInput, unbindOutput, unbindOutputs, watch
-
-
-
-
Method Detail
-
isResident
boolean isResident()
-
isTransient
boolean isTransient()
-
observe
MapLane<K,V> observe(Object observer)
- Specified by:
observe
in interfaceLane
- Specified by:
observe
in interfaceObservable<K>
- Specified by:
observe
in interfaceObservableMap<K,V>
- Specified by:
observe
in interfaceObservableSortedMap<K,V>
- Specified by:
observe
in interfaceWarpLane
-
unobserve
MapLane<K,V> unobserve(Object observer)
- Specified by:
unobserve
in interfaceLane
- Specified by:
unobserve
in interfaceObservable<K>
- Specified by:
unobserve
in interfaceObservableMap<K,V>
- Specified by:
unobserve
in interfaceObservableSortedMap<K,V>
- Specified by:
unobserve
in interfaceWarpLane
-
willUpdate
MapLane<K,V> willUpdate(WillUpdateKey<K,V> willUpdate)
- Specified by:
willUpdate
in interfaceObservableMap<K,V>
-
didUpdate
MapLane<K,V> didUpdate(DidUpdateKey<K,V> didUpdate)
- Specified by:
didUpdate
in interfaceObservableMap<K,V>
-
willRemove
MapLane<K,V> willRemove(WillRemoveKey<K> willRemove)
- Specified by:
willRemove
in interfaceObservableMap<K,V>
-
didRemove
MapLane<K,V> didRemove(DidRemoveKey<K,V> didRemove)
- Specified by:
didRemove
in interfaceObservableMap<K,V>
-
willDrop
MapLane<K,V> willDrop(WillDrop willDrop)
- Specified by:
willDrop
in interfaceObservableSortedMap<K,V>
-
didDrop
MapLane<K,V> didDrop(DidDrop didDrop)
- Specified by:
didDrop
in interfaceObservableSortedMap<K,V>
-
willTake
MapLane<K,V> willTake(WillTake willTake)
- Specified by:
willTake
in interfaceObservableSortedMap<K,V>
-
didTake
MapLane<K,V> didTake(DidTake didTake)
- Specified by:
didTake
in interfaceObservableSortedMap<K,V>
-
willClear
MapLane<K,V> willClear(WillClear willClear)
- Specified by:
willClear
in interfaceObservableMap<K,V>
-
didClear
MapLane<K,V> didClear(DidClear didClear)
- Specified by:
didClear
in interfaceObservableMap<K,V>
-
willCommand
MapLane<K,V> willCommand(WillCommand willCommand)
- Specified by:
willCommand
in interfaceWarpLane
-
didCommand
MapLane<K,V> didCommand(DidCommand didCommand)
- Specified by:
didCommand
in interfaceWarpLane
-
willUplink
MapLane<K,V> willUplink(WillUplink willUplink)
- Specified by:
willUplink
in interfaceWarpLane
-
snapshot
OrderedMap<K,V> snapshot()
-
keyIterator
Cursor<K> keyIterator()
Description copied from interface:MapOutlet
Returns anIterator
over the keys in the current state of thisMapOutlet
.- Specified by:
keyIterator
in interfaceIterableMap<K,V>
- Specified by:
keyIterator
in interfaceMapOutlet<K,V,MapLane<K,V>>
- Specified by:
keyIterator
in interfaceOrderedMap<K,V>
-
-