Module swim.runtime

Class MapLaneView<K,​V>

  • All Implemented Interfaces:
    Iterable<Map.Entry<K,​V>>, Map<K,​V>, SortedMap<K,​V>, swim.api.http.HttpLane<Object>, swim.api.lane.Lane, swim.api.lane.MapLane<K,​V>, 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.lane.MapLane<K,​V>>, swim.streamlet.Outlet<swim.api.lane.MapLane<K,​V>>, swim.util.IterableMap<K,​V>, swim.util.Log, swim.util.OrderedMap<K,​V>

    public class MapLaneView<K,​V>
    extends LaneView
    implements swim.api.lane.MapLane<K,​V>
    • Field Detail

      • agentContext

        protected final swim.api.agent.AgentContext agentContext
      • keyForm

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

        protected swim.structure.Form<V> valueForm
      • flags

        protected int flags
      • dataView

        protected swim.api.data.MapData<K,​V> dataView
      • 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.lane.MapLane<K,​V>>[] outputs
      • version

        protected int version
    • Constructor Detail

      • MapLaneView

        public MapLaneView​(swim.api.agent.AgentContext agentContext,
                           swim.structure.Form<K> keyForm,
                           swim.structure.Form<V> valueForm)
    • Method Detail

      • agentContext

        public swim.api.agent.AgentContext agentContext()
        Specified by:
        agentContext in class LaneView
      • keyForm

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

        public <K2> MapLaneView<K2,​V> keyForm​(swim.structure.Form<K2> keyForm)
        Specified by:
        keyForm in interface swim.api.lane.MapLane<K,​V>
      • keyClass

        public <K2> MapLaneView<K2,​V> keyClass​(Class<K2> keyClass)
        Specified by:
        keyClass in interface swim.api.lane.MapLane<K,​V>
      • setKeyForm

        public void setKeyForm​(swim.structure.Form<K> keyForm)
      • valueForm

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

        public <V2> MapLaneView<K,​V2> valueForm​(swim.structure.Form<V2> valueForm)
        Specified by:
        valueForm in interface swim.api.lane.MapLane<K,​V>
      • valueClass

        public <V2> MapLaneView<K,​V2> valueClass​(Class<V2> valueClass)
        Specified by:
        valueClass in interface swim.api.lane.MapLane<K,​V>
      • setValueForm

        public void setValueForm​(swim.structure.Form<V> valueForm)
      • typesafeObservers

        protected Object typesafeObservers​(Object observers)
      • isResident

        public final boolean isResident()
        Specified by:
        isResident in interface swim.api.lane.MapLane<K,​V>
      • isResident

        public MapLaneView<K,​V> isResident​(boolean isResident)
        Specified by:
        isResident in interface swim.api.lane.MapLane<K,​V>
      • isTransient

        public final boolean isTransient()
        Specified by:
        isTransient in interface swim.api.lane.MapLane<K,​V>
      • isTransient

        public MapLaneView<K,​V> isTransient​(boolean isTransient)
        Specified by:
        isTransient in interface swim.api.lane.MapLane<K,​V>
      • isSigned

        public final boolean isSigned()
        Specified by:
        isSigned in interface swim.api.lane.Lane
      • isSigned

        public MapLaneView<K,​V> isSigned​(boolean isSigned)
        Specified by:
        isSigned in interface swim.api.lane.Lane
        Specified by:
        isSigned in interface swim.api.lane.MapLane<K,​V>
      • close

        public void close()
        Specified by:
        close in interface swim.api.lane.Lane
        Specified by:
        close in class LaneView
      • observe

        public MapLaneView<K,​V> observe​(Object observer)
        Specified by:
        observe in interface swim.api.http.HttpLane<K>
        Specified by:
        observe in interface swim.api.lane.Lane
        Specified by:
        observe in interface swim.api.lane.MapLane<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 LaneView
      • unobserve

        public MapLaneView<K,​V> unobserve​(Object observer)
        Specified by:
        unobserve in interface swim.api.http.HttpLane<K>
        Specified by:
        unobserve in interface swim.api.lane.Lane
        Specified by:
        unobserve in interface swim.api.lane.MapLane<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 LaneView
      • willUpdate

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

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

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

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

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

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

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

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

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

        public MapLaneView<K,​V> didClear​(swim.observable.function.DidClear didClear)
        Specified by:
        didClear in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        didClear in interface swim.observable.ObservableMap<K,​V>
      • willCommand

        public MapLaneView<K,​V> willCommand​(swim.api.lane.function.WillCommand willCommand)
        Specified by:
        willCommand in interface swim.api.lane.Lane
        Specified by:
        willCommand in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        willCommand in class LaneView
      • didCommand

        public MapLaneView<K,​V> didCommand​(swim.api.lane.function.DidCommand didCommand)
        Specified by:
        didCommand in interface swim.api.lane.Lane
        Specified by:
        didCommand in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        didCommand in class LaneView
      • willUplink

        public MapLaneView<K,​V> willUplink​(swim.api.lane.function.WillUplink willUplink)
        Specified by:
        willUplink in interface swim.api.lane.Lane
        Specified by:
        willUplink in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        willUplink in class LaneView
      • didUplink

        public MapLaneView<K,​V> didUplink​(swim.api.lane.function.DidUplink didUplink)
        Specified by:
        didUplink in interface swim.api.lane.Lane
        Specified by:
        didUplink in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        didUplink in class LaneView
      • willEnter

        public MapLaneView<K,​V> willEnter​(swim.api.lane.function.WillEnter willEnter)
        Specified by:
        willEnter in interface swim.api.lane.Lane
        Specified by:
        willEnter in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        willEnter in class LaneView
      • didEnter

        public MapLaneView<K,​V> didEnter​(swim.api.lane.function.DidEnter didEnter)
        Specified by:
        didEnter in interface swim.api.lane.Lane
        Specified by:
        didEnter in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        didEnter in class LaneView
      • willLeave

        public MapLaneView<K,​V> willLeave​(swim.api.lane.function.WillLeave willLeave)
        Specified by:
        willLeave in interface swim.api.lane.Lane
        Specified by:
        willLeave in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        willLeave in class LaneView
      • didLeave

        public MapLaneView<K,​V> didLeave​(swim.api.lane.function.DidLeave didLeave)
        Specified by:
        didLeave in interface swim.api.lane.Lane
        Specified by:
        didLeave in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        didLeave in class LaneView
      • decodeRequest

        public MapLaneView<K,​V> decodeRequest​(swim.api.http.function.DecodeRequestHttp<Object> decodeRequest)
        Specified by:
        decodeRequest in interface swim.api.http.HttpLane<K>
        Specified by:
        decodeRequest in interface swim.api.lane.Lane
        Specified by:
        decodeRequest in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        decodeRequest in class LaneView
      • willRequest

        public MapLaneView<K,​V> willRequest​(swim.api.http.function.WillRequestHttp<?> willRequest)
        Specified by:
        willRequest in interface swim.api.http.HttpLane<K>
        Specified by:
        willRequest in interface swim.api.lane.Lane
        Specified by:
        willRequest in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        willRequest in class LaneView
      • didRequest

        public MapLaneView<K,​V> didRequest​(swim.api.http.function.DidRequestHttp<Object> didRequest)
        Specified by:
        didRequest in interface swim.api.http.HttpLane<K>
        Specified by:
        didRequest in interface swim.api.lane.Lane
        Specified by:
        didRequest in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        didRequest in class LaneView
      • doRespond

        public MapLaneView<K,​V> doRespond​(swim.api.http.function.DoRespondHttp<Object> doRespond)
        Specified by:
        doRespond in interface swim.api.http.HttpLane<K>
        Specified by:
        doRespond in interface swim.api.lane.Lane
        Specified by:
        doRespond in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        doRespond in class LaneView
      • willRespond

        public MapLaneView<K,​V> willRespond​(swim.api.http.function.WillRespondHttp<?> willRespond)
        Specified by:
        willRespond in interface swim.api.http.HttpLane<K>
        Specified by:
        willRespond in interface swim.api.lane.Lane
        Specified by:
        willRespond in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        willRespond in class LaneView
      • didRespond

        public MapLaneView<K,​V> didRespond​(swim.api.http.function.DidRespondHttp<?> didRespond)
        Specified by:
        didRespond in interface swim.api.http.HttpLane<K>
        Specified by:
        didRespond in interface swim.api.lane.Lane
        Specified by:
        didRespond in interface swim.api.lane.MapLane<K,​V>
        Specified by:
        didRespond in class LaneView
      • dispatchWillUpdate

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

        protected boolean dispatchDidUpdate​(swim.api.Link link,
                                            K key,
                                            V newValue,
                                            V oldValue,
                                            boolean preemptive)
      • dispatchWillRemove

        protected boolean dispatchWillRemove​(swim.api.Link link,
                                             K key,
                                             boolean preemptive)
      • dispatchDidRemove

        protected boolean dispatchDidRemove​(swim.api.Link link,
                                            K key,
                                            V oldValue,
                                            boolean preemptive)
      • dispatchWillDrop

        protected boolean dispatchWillDrop​(swim.api.Link link,
                                           int lower,
                                           boolean preemptive)
      • dispatchDidDrop

        protected boolean dispatchDidDrop​(swim.api.Link link,
                                          int lower,
                                          boolean preemptive)
      • dispatchWillTake

        protected boolean dispatchWillTake​(swim.api.Link link,
                                           int upper,
                                           boolean preemptive)
      • dispatchDidTake

        protected boolean dispatchDidTake​(swim.api.Link link,
                                          int upper,
                                          boolean preemptive)
      • dispatchWillClear

        protected boolean dispatchWillClear​(swim.api.Link link,
                                            boolean preemptive)
      • dispatchDidClear

        protected boolean dispatchDidClear​(swim.api.Link link,
                                           boolean preemptive)
      • laneWillUpdate

        public V laneWillUpdate​(K key,
                                V newValue)
      • laneDidUpdate

        public void laneDidUpdate​(K key,
                                  V newValue,
                                  V oldValue)
      • laneWillRemove

        public void laneWillRemove​(K key)
      • laneDidRemove

        public void laneDidRemove​(K key,
                                  V oldValue)
      • laneWillDrop

        public void laneWillDrop​(int lower)
      • laneDidDrop

        public void laneDidDrop​(int lower)
      • laneWillTake

        public void laneWillTake​(int upper)
      • laneDidTake

        public void laneDidTake​(int upper)
      • laneWillClear

        public void laneWillClear()
      • laneDidClear

        public void laneDidClear()
      • 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 key)
        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.lane.MapLane<K,​V>>
        Specified by:
        containsKey in interface swim.util.OrderedMap<K,​V>
      • containsValue

        public boolean containsValue​(Object value)
        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 key)
        Specified by:
        indexOf in interface swim.util.OrderedMap<K,​V>
      • get

        public V get​(Object key)
        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.lane.MapLane<K,​V>>
        Specified by:
        get in interface swim.util.OrderedMap<K,​V>
      • getEntry

        public Map.Entry<K,​V> getEntry​(Object key)
        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​(K key)
        Specified by:
        nextEntry in interface swim.util.OrderedMap<K,​V>
      • nextKey

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

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

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

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

        public V previousValue​(K key)
        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 toKey)
        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 fromKey)
        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 fromKey,
                                                      K toKey)
        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.lane.MapLane<K,​V>
        Specified by:
        keyIterator in interface swim.streamlet.MapOutlet<K,​V,​swim.api.lane.MapLane<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>
      • snapshot

        public swim.util.OrderedMap<K,​V> snapshot()
        Specified by:
        snapshot in interface swim.api.lane.MapLane<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.lane.MapLane<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.lane.MapLane<K,​V>>
      • outputIterator

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

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

        public void unbindOutput​(swim.streamlet.Inlet<? super swim.api.lane.MapLane<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.lane.MapLane<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.lane.MapLane<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)