Module swim.runtime

Class MapDownlinkView<K,​V>

  • All Implemented Interfaces:
    Iterable<Map.Entry<K,​V>>, Map<K,​V>, SortedMap<K,​V>, swim.api.Downlink, swim.api.downlink.MapDownlink<K,​V>, swim.api.Link, swim.api.warp.WarpDownlink, swim.api.warp.WarpLink, 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 WarpDownlinkView
    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.MapDownlink<K,​V>
        Specified by:
        hostUri in interface swim.api.warp.WarpDownlink
        Specified by:
        hostUri in class WarpDownlinkView
      • hostUri

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

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

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

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

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

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

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

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

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

        public MapDownlinkView<K,​V> keepSynced​(boolean keepSynced)
        Specified by:
        keepSynced in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        keepSynced in interface swim.api.warp.WarpDownlink
        Specified by:
        keepSynced in class WarpDownlinkView
      • 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
        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>
        Specified by:
        observe in interface swim.api.warp.WarpDownlink
        Overrides:
        observe in class WarpDownlinkView
      • unobserve

        public MapDownlinkView<K,​V> unobserve​(Object observer)
        Specified by:
        unobserve in interface swim.api.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>
        Specified by:
        unobserve in interface swim.api.warp.WarpDownlink
        Overrides:
        unobserve in class WarpDownlinkView
      • 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.warp.function.WillReceive willReceive)
        Specified by:
        willReceive in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        willReceive in interface swim.api.warp.WarpDownlink
        Specified by:
        willReceive in class WarpDownlinkView
      • didReceive

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

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

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

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

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

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

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

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

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

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

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

        public MapDownlinkView<K,​V> didFail​(swim.api.function.DidFail didFail)
        Specified by:
        didFail in interface swim.api.Downlink
        Specified by:
        didFail in interface swim.api.downlink.MapDownlink<K,​V>
        Specified by:
        didFail in interface swim.api.warp.WarpDownlink
        Specified by:
        didFail in class WarpDownlinkView
      • 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

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

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

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

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

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

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

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

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

        public boolean dispatchWillClear​(boolean preemptive)
      • dispatchDidClear

        public boolean dispatchDidClear​(boolean preemptive)
      • open

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

        public void close()
        Specified by:
        close in interface swim.api.Link
        Overrides:
        close 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>
      • decohereOutputKey

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

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

        public void decohereKey​(K key,
                                swim.streamlet.KeyEffect effect)
      • decohereOutput

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

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

        public void decohere()
      • recohereOutputKey

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

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

        public void recohereKey​(K key,
                                int version)
      • recohereOutput

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

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

        public void recohere​(int version)
      • willDecohereKey

        protected void willDecohereKey​(K key,
                                       swim.streamlet.KeyEffect effect)
      • onDecohereKey

        protected void onDecohereKey​(K key,
                                     swim.streamlet.KeyEffect effect)
      • didDecohereKey

        protected void didDecohereKey​(K key,
                                      swim.streamlet.KeyEffect effect)
      • willDecohere

        protected void willDecohere()
      • onDecohere

        protected void onDecohere()
      • didDecohere

        protected void didDecohere()
      • willRecohereKey

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

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

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

        protected void willRecohere​(int version)
      • onRecohere

        protected void onRecohere​(int version)
      • didRecohere

        protected void didRecohere​(int version)