Class KeyOutlet<K,V>

java.lang.Object
swim.streamlet.AbstractOutlet<V>
swim.streamlet.KeyOutlet<K,V>
All Implemented Interfaces:
Outlet<V>

public class KeyOutlet<K,V> extends AbstractOutlet<V>
  • Field Details

    • input

      protected final MapOutlet<? super K,? extends V,?> input
    • key

      protected final K key
  • Constructor Details

    • KeyOutlet

      public KeyOutlet(MapOutlet<? super K,? extends V,?> input, K key)
  • Method Details

    • input

      public MapOutlet<? super K,? extends V,?> input()
    • key

      public K key()
    • get

      public V get()
      Description copied from interface: Outlet
      Returns the current state of this Outlet.
      Specified by:
      get in interface Outlet<K>
      Specified by:
      get in class AbstractOutlet<V>