Module swim.api
Package swim.api.lane

Interface MapLane<K,​V>

  • All Superinterfaces:
    HttpLane<Object>, swim.streamlet.Inlet<Map<K,​V>>, Iterable<Map.Entry<K,​V>>, swim.util.IterableMap<K,​V>, Lane, swim.util.Log, Map<K,​V>, swim.streamlet.MapInlet<K,​V,​Map<K,​V>>, swim.streamlet.MapOutlet<K,​V,​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.util.OrderedMap<K,​V>, swim.streamlet.Outlet<MapLane<K,​V>>, SortedMap<K,​V>

    public interface MapLane<K,​V>
    extends Lane, swim.observable.ObservableOrderedMap<K,​V>, swim.streamlet.MapInlet<K,​V,​Map<K,​V>>, swim.streamlet.MapOutlet<K,​V,​MapLane<K,​V>>
    • Method Detail

      • keyForm

        swim.structure.Form<K> keyForm()
      • keyForm

        <K2> MapLane<K2,​V> keyForm​(swim.structure.Form<K2> keyForm)
      • keyClass

        <K2> MapLane<K2,​V> keyClass​(Class<K2> keyClass)
      • valueForm

        swim.structure.Form<V> valueForm()
      • valueForm

        <V2> MapLane<K,​V2> valueForm​(swim.structure.Form<V2> valueForm)
      • valueClass

        <V2> MapLane<K,​V2> valueClass​(Class<V2> valueClass)
      • isResident

        boolean isResident()
      • isResident

        MapLane<K,​V> isResident​(boolean isResident)
      • isTransient

        boolean isTransient()
      • isTransient

        MapLane<K,​V> isTransient​(boolean isTransient)
      • observe

        MapLane<K,​V> observe​(Object observer)
        Specified by:
        observe in interface HttpLane<K>
        Specified by:
        observe in interface Lane
        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>
      • unobserve

        MapLane<K,​V> unobserve​(Object observer)
        Specified by:
        unobserve in interface HttpLane<K>
        Specified by:
        unobserve in interface Lane
        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>
      • willUpdate

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

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

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

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

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

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

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

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

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

        MapLane<K,​V> didClear​(swim.observable.function.DidClear didClear)
        Specified by:
        didClear in interface swim.observable.ObservableMap<K,​V>
      • snapshot

        swim.util.OrderedMap<K,​V> snapshot()
      • keyIterator

        swim.util.Cursor<K> keyIterator()
        Specified by:
        keyIterator in interface swim.util.IterableMap<K,​V>
        Specified by:
        keyIterator in interface swim.streamlet.MapOutlet<K,​V,​MapLane<K,​V>>
        Specified by:
        keyIterator in interface swim.util.OrderedMap<K,​V>