Module swim.runtime

Class MapDownlinkView<K,​V>

  • All Implemented Interfaces:
    Iterable<Map.Entry<K,​V>>, Map<K,​V>, SortedMap<K,​V>, swim.api.downlink.Downlink, swim.api.downlink.MapDownlink<K,​V>, swim.api.Link, swim.observable.Observable<Object>, swim.observable.ObservableIterableMap<K,​V>, swim.observable.ObservableMap<K,​V>, swim.observable.ObservableOrderedMap<K,​V>, swim.observable.ObservableSortedMap<K,​V>, swim.streamlet.Inlet<Map<K,​V>>, swim.streamlet.MapInlet<K,​V,​Map<K,​V>>, swim.streamlet.MapOutlet<K,​V,​swim.api.downlink.MapDownlink<K,​V>>, swim.streamlet.Outlet<swim.api.downlink.MapDownlink<K,​V>>, swim.util.IterableMap<K,​V>, swim.util.Log, swim.util.OrderedMap<K,​V>
    Direct Known Subclasses:
    JoinMapLaneDownlink

    public class MapDownlinkView<K,​V>
    extends DownlinkView
    implements swim.api.downlink.MapDownlink<K,​V>
    • Field Detail

      • keyForm

        protected final swim.structure.Form<K> keyForm
      • valueForm

        protected final swim.structure.Form<V> valueForm
      • input

        protected swim.streamlet.MapOutlet<K,​V,​? extends Map<K,​V>> input
      • effects

        protected swim.collections.HashTrieMap<K,​swim.streamlet.KeyEffect> effects
      • outlets

        protected swim.collections.HashTrieMap<K,​swim.streamlet.KeyOutlet<K,​V>> outlets
      • outputs

        protected swim.streamlet.Inlet<? super swim.api.downlink.MapDownlink<K,​V>>[] outputs
      • version

        protected int version
    • Constructor Detail

      • MapDownlinkView

        public MapDownlinkView​(CellContext cellContext,
                               swim.concurrent.Stage stage,
                               swim.uri.Uri meshUri,
                               swim.uri.Uri hostUri,
                               swim.uri.Uri nodeUri,
                               swim.uri.Uri laneUri,
                               float prio,
                               float rate,
                               swim.structure.Value body,
                               int flags,
                               swim.structure.Form<K> keyForm,
                               swim.structure.Form<V> valueForm,
                               Object observers)
      • MapDownlinkView

        public MapDownlinkView​(CellContext cellContext,
                               swim.concurrent.Stage stage,
                               swim.uri.Uri meshUri,
                               swim.uri.Uri hostUri,
                               swim.uri.Uri nodeUri,
                               swim.uri.Uri laneUri,
                               float prio,
                               float rate,
                               swim.structure.Value body,
                               swim.structure.Form<K> keyForm,
                               swim.structure.Form<V> valueForm)
    • Method Detail

      • hostUri

        public MapDownlinkView<K,​V> hostUri​(swim.uri.Uri hostUri)
        Specified by:
        hostUri in interface swim.api.downlink.Downlink
        Specified by:
        hostUri in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        hostUri in class DownlinkView
      • hostUri

        public MapDownlinkView<K,​V> hostUri​(String hostUri)
        Specified by:
        hostUri in interface swim.api.downlink.Downlink
        Specified by:
        hostUri in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        hostUri in class DownlinkView
      • nodeUri

        public MapDownlinkView<K,​V> nodeUri​(swim.uri.Uri nodeUri)
        Specified by:
        nodeUri in interface swim.api.downlink.Downlink
        Specified by:
        nodeUri in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        nodeUri in class DownlinkView
      • nodeUri

        public MapDownlinkView<K,​V> nodeUri​(String nodeUri)
        Specified by:
        nodeUri in interface swim.api.downlink.Downlink
        Specified by:
        nodeUri in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        nodeUri in class DownlinkView
      • laneUri

        public MapDownlinkView<K,​V> laneUri​(swim.uri.Uri laneUri)
        Specified by:
        laneUri in interface swim.api.downlink.Downlink
        Specified by:
        laneUri in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        laneUri in class DownlinkView
      • laneUri

        public MapDownlinkView<K,​V> laneUri​(String laneUri)
        Specified by:
        laneUri in interface swim.api.downlink.Downlink
        Specified by:
        laneUri in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        laneUri in class DownlinkView
      • prio

        public MapDownlinkView<K,​V> prio​(float prio)
        Specified by:
        prio in interface swim.api.downlink.Downlink
        Specified by:
        prio in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        prio in class DownlinkView
      • rate

        public MapDownlinkView<K,​V> rate​(float rate)
        Specified by:
        rate in interface swim.api.downlink.Downlink
        Specified by:
        rate in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        rate in class DownlinkView
      • body

        public MapDownlinkView<K,​V> body​(swim.structure.Value body)
        Specified by:
        body in interface swim.api.downlink.Downlink
        Specified by:
        body in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        body in class DownlinkView
      • keepLinked

        public MapDownlinkView<K,​V> keepLinked​(boolean keepLinked)
        Specified by:
        keepLinked in interface swim.api.downlink.Downlink
        Specified by:
        keepLinked in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        keepLinked in class DownlinkView
      • keepSynced

        public MapDownlinkView<K,​V> keepSynced​(boolean keepSynced)
        Specified by:
        keepSynced in interface swim.api.downlink.Downlink
        Specified by:
        keepSynced in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        keepSynced in class DownlinkView
      • isStateful

        public final boolean isStateful()
        Specified by:
        isStateful in interface swim.api.downlink.MapDownlink<K,​V>
      • isStateful

        public MapDownlinkView<K,​V> isStateful​(boolean isStateful)
        Specified by:
        isStateful in interface swim.api.downlink.MapDownlink<K,​V>
      • keyForm

        public final swim.structure.Form<K> keyForm()
        Specified by:
        keyForm in interface swim.api.downlink.MapDownlink<K,​V>
      • keyForm

        public <K2> MapDownlinkView<K2,​V> keyForm​(swim.structure.Form<K2> keyForm)
        Specified by:
        keyForm in interface swim.api.downlink.MapDownlink<K,​V>
      • keyClass

        public <K2> MapDownlinkView<K2,​V> keyClass​(Class<K2> keyClass)
        Specified by:
        keyClass in interface swim.api.downlink.MapDownlink<K,​V>
      • valueForm

        public final swim.structure.Form<V> valueForm()
        Specified by:
        valueForm in interface swim.api.downlink.MapDownlink<K,​V>
      • valueForm

        public <V2> MapDownlinkView<K,​V2> valueForm​(swim.structure.Form<V2> valueForm)
        Specified by:
        valueForm in interface swim.api.downlink.MapDownlink<K,​V>
      • valueClass

        public <V2> MapDownlinkView<K,​V2> valueClass​(Class<V2> valueClass)
        Specified by:
        valueClass in interface swim.api.downlink.MapDownlink<K,​V>
      • typesafeObservers

        protected Object typesafeObservers​(Object observers)
      • observe

        public MapDownlinkView<K,​V> observe​(Object observer)
        Specified by:
        observe in interface swim.api.downlink.Downlink
        Specified by:
        observe in interface swim.api.Link
        Specified by:
        observe in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        observe in interface swim.observable.Observable<K>
        Specified by:
        observe in interface swim.observable.ObservableMap<K,​V>
        Specified by:
        observe in interface swim.observable.ObservableSortedMap<K,​V>
        Overrides:
        observe in class DownlinkView
      • unobserve

        public MapDownlinkView<K,​V> unobserve​(Object observer)
        Specified by:
        unobserve in interface swim.api.downlink.Downlink
        Specified by:
        unobserve in interface swim.api.Link
        Specified by:
        unobserve in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        unobserve in interface swim.observable.Observable<K>
        Specified by:
        unobserve in interface swim.observable.ObservableMap<K,​V>
        Specified by:
        unobserve in interface swim.observable.ObservableSortedMap<K,​V>
        Overrides:
        unobserve in class DownlinkView
      • willUpdate

        public MapDownlinkView<K,​V> willUpdate​(swim.observable.function.WillUpdateKey<K,​V> willUpdate)
        Specified by:
        willUpdate in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willUpdate in interface swim.observable.ObservableMap<K,​V>
      • didUpdate

        public MapDownlinkView<K,​V> didUpdate​(swim.observable.function.DidUpdateKey<K,​V> didUpdate)
        Specified by:
        didUpdate in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didUpdate in interface swim.observable.ObservableMap<K,​V>
      • willRemove

        public MapDownlinkView<K,​V> willRemove​(swim.observable.function.WillRemoveKey<K> willRemove)
        Specified by:
        willRemove in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willRemove in interface swim.observable.ObservableMap<K,​V>
      • didRemove

        public MapDownlinkView<K,​V> didRemove​(swim.observable.function.DidRemoveKey<K,​V> didRemove)
        Specified by:
        didRemove in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didRemove in interface swim.observable.ObservableMap<K,​V>
      • willDrop

        public swim.api.downlink.MapDownlink<K,​V> willDrop​(swim.observable.function.WillDrop willDrop)
        Specified by:
        willDrop in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willDrop in interface swim.observable.ObservableSortedMap<K,​V>
      • didDrop

        public swim.api.downlink.MapDownlink<K,​V> didDrop​(swim.observable.function.DidDrop didDrop)
        Specified by:
        didDrop in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didDrop in interface swim.observable.ObservableSortedMap<K,​V>
      • willTake

        public swim.api.downlink.MapDownlink<K,​V> willTake​(swim.observable.function.WillTake willTake)
        Specified by:
        willTake in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willTake in interface swim.observable.ObservableSortedMap<K,​V>
      • didTake

        public swim.api.downlink.MapDownlink<K,​V> didTake​(swim.observable.function.DidTake didTake)
        Specified by:
        didTake in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didTake in interface swim.observable.ObservableSortedMap<K,​V>
      • willClear

        public MapDownlinkView<K,​V> willClear​(swim.observable.function.WillClear willClear)
        Specified by:
        willClear in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willClear in interface swim.observable.ObservableMap<K,​V>
      • didClear

        public MapDownlinkView<K,​V> didClear​(swim.observable.function.DidClear didClear)
        Specified by:
        didClear in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didClear in interface swim.observable.ObservableMap<K,​V>
      • willReceive

        public MapDownlinkView<K,​V> willReceive​(swim.api.downlink.function.WillReceive willReceive)
        Specified by:
        willReceive in interface swim.api.downlink.Downlink
        Specified by:
        willReceive in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willReceive in class DownlinkView
      • didReceive

        public MapDownlinkView<K,​V> didReceive​(swim.api.downlink.function.DidReceive didReceive)
        Specified by:
        didReceive in interface swim.api.downlink.Downlink
        Specified by:
        didReceive in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didReceive in class DownlinkView
      • willCommand

        public MapDownlinkView<K,​V> willCommand​(swim.api.downlink.function.WillCommand willCommand)
        Specified by:
        willCommand in interface swim.api.downlink.Downlink
        Specified by:
        willCommand in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willCommand in class DownlinkView
      • willLink

        public MapDownlinkView<K,​V> willLink​(swim.api.downlink.function.WillLink willLink)
        Specified by:
        willLink in interface swim.api.downlink.Downlink
        Specified by:
        willLink in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willLink in class DownlinkView
      • didLink

        public MapDownlinkView<K,​V> didLink​(swim.api.downlink.function.DidLink didLink)
        Specified by:
        didLink in interface swim.api.downlink.Downlink
        Specified by:
        didLink in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didLink in class DownlinkView
      • willSync

        public MapDownlinkView<K,​V> willSync​(swim.api.downlink.function.WillSync willSync)
        Specified by:
        willSync in interface swim.api.downlink.Downlink
        Specified by:
        willSync in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willSync in class DownlinkView
      • didSync

        public MapDownlinkView<K,​V> didSync​(swim.api.downlink.function.DidSync didSync)
        Specified by:
        didSync in interface swim.api.downlink.Downlink
        Specified by:
        didSync in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didSync in class DownlinkView
      • willUnlink

        public MapDownlinkView<K,​V> willUnlink​(swim.api.downlink.function.WillUnlink willUnlink)
        Specified by:
        willUnlink in interface swim.api.downlink.Downlink
        Specified by:
        willUnlink in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willUnlink in class DownlinkView
      • didUnlink

        public MapDownlinkView<K,​V> didUnlink​(swim.api.downlink.function.DidUnlink didUnlink)
        Specified by:
        didUnlink in interface swim.api.downlink.Downlink
        Specified by:
        didUnlink in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didUnlink in class DownlinkView
      • didConnect

        public MapDownlinkView<K,​V> didConnect​(swim.api.function.DidConnect didConnect)
        Specified by:
        didConnect in interface swim.api.downlink.Downlink
        Specified by:
        didConnect in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didConnect in class DownlinkView
      • didDisconnect

        public MapDownlinkView<K,​V> didDisconnect​(swim.api.function.DidDisconnect didDisconnect)
        Specified by:
        didDisconnect in interface swim.api.downlink.Downlink
        Specified by:
        didDisconnect in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didDisconnect in class DownlinkView
      • didClose

        public MapDownlinkView<K,​V> didClose​(swim.api.function.DidClose didClose)
        Specified by:
        didClose in interface swim.api.downlink.Downlink
        Specified by:
        didClose in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didClose in class DownlinkView
      • didFail

        public MapDownlinkView<K,​V> didFail​(swim.api.function.DidFail didFail)
        Specified by:
        didFail in interface swim.api.downlink.Downlink
        Specified by:
        didFail in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didFail in class DownlinkView
      • downlinkWillUpdateValue

        public swim.structure.Value downlinkWillUpdateValue​(swim.structure.Value key,
                                                            swim.structure.Value newValue)
      • downlinkDidUpdateValue

        public void downlinkDidUpdateValue​(swim.structure.Value key,
                                           swim.structure.Value newValue,
                                           swim.structure.Value oldValue)
      • downlinkWillUpdate

        public V downlinkWillUpdate​(K key,
                                    V newValue)
      • downlinkDidUpdate

        public void downlinkDidUpdate​(K key,
                                      V newValue,
                                      V oldValue)
      • downlinkWillRemoveValue

        public void downlinkWillRemoveValue​(swim.structure.Value key)
      • downlinkDidRemoveValue

        public void downlinkDidRemoveValue​(swim.structure.Value key,
                                           swim.structure.Value oldValue)
      • downlinkWillRemove

        public void downlinkWillRemove​(K key)
      • downlinkDidRemove

        public void downlinkDidRemove​(K key,
                                      V oldValue)
      • downlinkWillDrop

        public void downlinkWillDrop​(int lower)
      • downlinkDidDrop

        public void downlinkDidDrop​(int lower)
      • downlinkWillTake

        public void downlinkWillTake​(int upper)
      • downlinkDidTake

        public void downlinkDidTake​(int upper)
      • downlinkWillClear

        public void downlinkWillClear()
      • downlinkDidClear

        public void downlinkDidClear()
      • dispatchWillUpdate

        protected Map.Entry<Boolean,​V> dispatchWillUpdate​(K key,
                                                                V newValue,
                                                                boolean preemptive)
      • dispatchDidUpdate

        protected boolean dispatchDidUpdate​(K key,
                                            V newValue,
                                            V oldValue,
                                            boolean preemptive)
      • dispatchWillRemove

        protected boolean dispatchWillRemove​(K key,
                                             boolean preemptive)
      • dispatchDidRemove

        protected boolean dispatchDidRemove​(K key,
                                            V oldValue,
                                            boolean preemptive)
      • dispatchWillDrop

        protected boolean dispatchWillDrop​(int lower,
                                           boolean preemptive)
      • dispatchDidDrop

        protected boolean dispatchDidDrop​(int lower,
                                          boolean preemptive)
      • dispatchWillTake

        protected boolean dispatchWillTake​(int upper,
                                           boolean preemptive)
      • dispatchDidTake

        protected boolean dispatchDidTake​(int upper,
                                          boolean preemptive)
      • dispatchWillClear

        protected boolean dispatchWillClear​(boolean preemptive)
      • dispatchDidClear

        protected boolean dispatchDidClear​(boolean preemptive)
      • open

        public MapDownlinkView<K,​V> open()
        Specified by:
        open in interface swim.api.downlink.Downlink
        Specified by:
        open in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        open in class DownlinkView
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface swim.util.IterableMap<K,​V>
        Specified by:
        isEmpty in interface Map<K,​V>
        Specified by:
        isEmpty in interface swim.util.OrderedMap<K,​V>
      • size

        public int size()
        Specified by:
        size in interface swim.util.IterableMap<K,​V>
        Specified by:
        size in interface Map<K,​V>
        Specified by:
        size in interface swim.util.OrderedMap<K,​V>
      • containsKey

        public boolean containsKey​(Object keyObject)
        Specified by:
        containsKey in interface swim.util.IterableMap<K,​V>
        Specified by:
        containsKey in interface Map<K,​V>
        Specified by:
        containsKey in interface swim.streamlet.MapOutlet<K,​V,​swim.api.downlink.MapDownlink<K,​V>>
        Specified by:
        containsKey in interface swim.util.OrderedMap<K,​V>
      • containsValue

        public boolean containsValue​(Object valueObject)
        Specified by:
        containsValue in interface swim.util.IterableMap<K,​V>
        Specified by:
        containsValue in interface Map<K,​V>
        Specified by:
        containsValue in interface swim.util.OrderedMap<K,​V>
      • indexOf

        public int indexOf​(Object keyObject)
        Specified by:
        indexOf in interface swim.util.OrderedMap<K,​V>
      • get

        public V get​(Object keyObject)
        Specified by:
        get in interface swim.util.IterableMap<K,​V>
        Specified by:
        get in interface Map<K,​V>
        Specified by:
        get in interface swim.streamlet.MapOutlet<K,​V,​swim.api.downlink.MapDownlink<K,​V>>
        Specified by:
        get in interface swim.util.OrderedMap<K,​V>
      • getEntry

        public Map.Entry<K,​V> getEntry​(Object keyObject)
        Specified by:
        getEntry in interface swim.util.OrderedMap<K,​V>
      • getIndex

        public Map.Entry<K,​V> getIndex​(int index)
        Specified by:
        getIndex in interface swim.util.OrderedMap<K,​V>
      • firstEntry

        public Map.Entry<K,​V> firstEntry()
        Specified by:
        firstEntry in interface swim.util.OrderedMap<K,​V>
      • firstKey

        public K firstKey()
        Specified by:
        firstKey in interface swim.util.OrderedMap<K,​V>
        Specified by:
        firstKey in interface SortedMap<K,​V>
      • firstValue

        public V firstValue()
        Specified by:
        firstValue in interface swim.util.OrderedMap<K,​V>
      • lastEntry

        public Map.Entry<K,​V> lastEntry()
        Specified by:
        lastEntry in interface swim.util.OrderedMap<K,​V>
      • lastKey

        public K lastKey()
        Specified by:
        lastKey in interface swim.util.OrderedMap<K,​V>
        Specified by:
        lastKey in interface SortedMap<K,​V>
      • lastValue

        public V lastValue()
        Specified by:
        lastValue in interface swim.util.OrderedMap<K,​V>
      • nextEntry

        public Map.Entry<K,​V> nextEntry​(Object keyObject)
        Specified by:
        nextEntry in interface swim.util.OrderedMap<K,​V>
      • nextKey

        public K nextKey​(Object keyObject)
        Specified by:
        nextKey in interface swim.util.OrderedMap<K,​V>
      • nextValue

        public V nextValue​(Object keyObject)
        Specified by:
        nextValue in interface swim.util.OrderedMap<K,​V>
      • previousEntry

        public Map.Entry<K,​V> previousEntry​(Object keyObject)
        Specified by:
        previousEntry in interface swim.util.OrderedMap<K,​V>
      • previousKey

        public K previousKey​(Object keyObject)
        Specified by:
        previousKey in interface swim.util.OrderedMap<K,​V>
      • previousValue

        public V previousValue​(Object keyObject)
        Specified by:
        previousValue in interface swim.util.OrderedMap<K,​V>
      • put

        public V put​(K key,
                     V value)
        Specified by:
        put in interface swim.util.IterableMap<K,​V>
        Specified by:
        put in interface Map<K,​V>
        Specified by:
        put in interface swim.util.OrderedMap<K,​V>
      • putAll

        public void putAll​(Map<? extends K,​? extends V> map)
        Specified by:
        putAll in interface swim.util.IterableMap<K,​V>
        Specified by:
        putAll in interface Map<K,​V>
        Specified by:
        putAll in interface swim.util.OrderedMap<K,​V>
      • remove

        public V remove​(Object key)
        Specified by:
        remove in interface swim.util.IterableMap<K,​V>
        Specified by:
        remove in interface Map<K,​V>
        Specified by:
        remove in interface swim.util.OrderedMap<K,​V>
      • drop

        public void drop​(int lower)
        Specified by:
        drop in interface swim.observable.ObservableSortedMap<K,​V>
      • take

        public void take​(int upper)
        Specified by:
        take in interface swim.observable.ObservableSortedMap<K,​V>
      • clear

        public void clear()
        Specified by:
        clear in interface swim.util.IterableMap<K,​V>
        Specified by:
        clear in interface Map<K,​V>
        Specified by:
        clear in interface swim.util.OrderedMap<K,​V>
      • headMap

        public swim.util.OrderedMap<K,​V> headMap​(K toKeyObject)
        Specified by:
        headMap in interface swim.util.OrderedMap<K,​V>
        Specified by:
        headMap in interface SortedMap<K,​V>
      • tailMap

        public swim.util.OrderedMap<K,​V> tailMap​(K fromKeyObject)
        Specified by:
        tailMap in interface swim.util.OrderedMap<K,​V>
        Specified by:
        tailMap in interface SortedMap<K,​V>
      • subMap

        public swim.util.OrderedMap<K,​V> subMap​(K fromKeyObject,
                                                      K toKeyObject)
        Specified by:
        subMap in interface swim.util.OrderedMap<K,​V>
        Specified by:
        subMap in interface SortedMap<K,​V>
      • entrySet

        public Set<Map.Entry<K,​V>> entrySet()
        Specified by:
        entrySet in interface swim.util.IterableMap<K,​V>
        Specified by:
        entrySet in interface Map<K,​V>
        Specified by:
        entrySet in interface swim.util.OrderedMap<K,​V>
        Specified by:
        entrySet in interface SortedMap<K,​V>
      • keySet

        public Set<K> keySet()
        Specified by:
        keySet in interface swim.util.IterableMap<K,​V>
        Specified by:
        keySet in interface Map<K,​V>
        Specified by:
        keySet in interface swim.util.OrderedMap<K,​V>
        Specified by:
        keySet in interface SortedMap<K,​V>
      • values

        public Collection<V> values()
        Specified by:
        values in interface swim.util.IterableMap<K,​V>
        Specified by:
        values in interface Map<K,​V>
        Specified by:
        values in interface swim.util.OrderedMap<K,​V>
        Specified by:
        values in interface SortedMap<K,​V>
      • iterator

        public swim.util.OrderedMapCursor<K,​V> iterator()
        Specified by:
        iterator in interface Iterable<K>
        Specified by:
        iterator in interface swim.util.IterableMap<K,​V>
        Specified by:
        iterator in interface swim.util.OrderedMap<K,​V>
      • keyIterator

        public swim.util.Cursor<K> keyIterator()
        Specified by:
        keyIterator in interface swim.util.IterableMap<K,​V>
        Specified by:
        keyIterator in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        keyIterator in interface swim.streamlet.MapOutlet<K,​V,​swim.api.downlink.MapDownlink<K,​V>>
        Specified by:
        keyIterator in interface swim.util.OrderedMap<K,​V>
      • valueIterator

        public swim.util.Cursor<V> valueIterator()
        Specified by:
        valueIterator in interface swim.util.IterableMap<K,​V>
        Specified by:
        valueIterator in interface swim.util.OrderedMap<K,​V>
      • comparator

        public Comparator<? super K> comparator()
        Specified by:
        comparator in interface swim.util.OrderedMap<K,​V>
        Specified by:
        comparator in interface SortedMap<K,​V>
      • get

        public swim.api.downlink.MapDownlink<K,​V> get()
        Specified by:
        get in interface swim.streamlet.Outlet<K>
      • input

        public swim.streamlet.MapOutlet<K,​V,​? extends Map<K,​V>> input()
        Specified by:
        input in interface swim.streamlet.Inlet<K>
      • bindInput

        public void bindInput​(swim.streamlet.Outlet<? extends Map<K,​V>> input)
        Specified by:
        bindInput in interface swim.streamlet.Inlet<K>
      • bindInput

        public void bindInput​(swim.streamlet.MapOutlet<K,​V,​? extends Map<K,​V>> input)
      • unbindInput

        public void unbindInput()
        Specified by:
        unbindInput in interface swim.streamlet.Inlet<K>
      • disconnectInputs

        public void disconnectInputs()
        Specified by:
        disconnectInputs in interface swim.streamlet.Inlet<K>
        Specified by:
        disconnectInputs in interface swim.streamlet.Outlet<K>
      • outlet

        public swim.streamlet.Outlet<V> outlet​(K key)
        Specified by:
        outlet in interface swim.streamlet.MapOutlet<K,​V,​swim.api.downlink.MapDownlink<K,​V>>
      • outputIterator

        public Iterator<swim.streamlet.Inlet<? super swim.api.downlink.MapDownlink<K,​V>>> outputIterator()
        Specified by:
        outputIterator in interface swim.streamlet.Outlet<K>
      • bindOutput

        public void bindOutput​(swim.streamlet.Inlet<? super swim.api.downlink.MapDownlink<K,​V>> output)
        Specified by:
        bindOutput in interface swim.streamlet.Outlet<K>
      • unbindOutput

        public void unbindOutput​(swim.streamlet.Inlet<? super swim.api.downlink.MapDownlink<K,​V>> output)
        Specified by:
        unbindOutput in interface swim.streamlet.Outlet<K>
      • unbindOutputs

        public void unbindOutputs()
        Specified by:
        unbindOutputs in interface swim.streamlet.Outlet<K>
      • disconnectOutputs

        public void disconnectOutputs()
        Specified by:
        disconnectOutputs in interface swim.streamlet.Inlet<K>
        Specified by:
        disconnectOutputs in interface swim.streamlet.Outlet<K>
      • invalidateOutputKey

        public void invalidateOutputKey​(K key,
                                        swim.streamlet.KeyEffect effect)
        Specified by:
        invalidateOutputKey in interface swim.streamlet.MapInlet<K,​V,​Map<K,​V>>
      • invalidateInputKey

        public void invalidateInputKey​(K key,
                                       swim.streamlet.KeyEffect effect)
        Specified by:
        invalidateInputKey in interface swim.streamlet.MapOutlet<K,​V,​swim.api.downlink.MapDownlink<K,​V>>
      • invalidateKey

        public void invalidateKey​(K key,
                                  swim.streamlet.KeyEffect effect)
      • invalidateOutput

        public void invalidateOutput()
        Specified by:
        invalidateOutput in interface swim.streamlet.Inlet<K>
      • invalidateInput

        public void invalidateInput()
        Specified by:
        invalidateInput in interface swim.streamlet.Outlet<K>
      • invalidate

        public void invalidate()
      • reconcileOutputKey

        public void reconcileOutputKey​(K key,
                                       int version)
        Specified by:
        reconcileOutputKey in interface swim.streamlet.MapInlet<K,​V,​Map<K,​V>>
      • reconcileInputKey

        public void reconcileInputKey​(K key,
                                      int version)
        Specified by:
        reconcileInputKey in interface swim.streamlet.MapOutlet<K,​V,​swim.api.downlink.MapDownlink<K,​V>>
      • reconcileKey

        public void reconcileKey​(K key,
                                 int version)
      • reconcileOutput

        public void reconcileOutput​(int version)
        Specified by:
        reconcileOutput in interface swim.streamlet.Inlet<K>
      • reconcileInput

        public void reconcileInput​(int version)
        Specified by:
        reconcileInput in interface swim.streamlet.Outlet<K>
      • reconcile

        public void reconcile​(int version)
      • willInvalidateKey

        protected void willInvalidateKey​(K key,
                                         swim.streamlet.KeyEffect effect)
      • onInvalidateKey

        protected void onInvalidateKey​(K key,
                                       swim.streamlet.KeyEffect effect)
      • didInvalidateKey

        protected void didInvalidateKey​(K key,
                                        swim.streamlet.KeyEffect effect)
      • willInvalidate

        protected void willInvalidate()
      • onInvalidate

        protected void onInvalidate()
      • didInvalidate

        protected void didInvalidate()
      • willUpdate

        protected void willUpdate​(int version)
      • didUpdate

        protected void didUpdate​(int version)
      • willReconcileKey

        protected void willReconcileKey​(K key,
                                        swim.streamlet.KeyEffect effect,
                                        int version)
      • onReconcileKey

        protected void onReconcileKey​(K key,
                                      swim.streamlet.KeyEffect effect,
                                      int version)
      • didReconcileKey

        protected void didReconcileKey​(K key,
                                       swim.streamlet.KeyEffect effect,
                                       int version)
      • willReconcile

        protected void willReconcile​(int version)
      • onReconcile

        protected void onReconcile​(int version)
      • didReconcile

        protected void didReconcile​(int version)