Class ValueInput<O>

java.lang.Object
swim.streamlet.AbstractOutlet<O>
swim.streamlet.ValueInput<O>
All Implemented Interfaces:
Outlet<O>

public class ValueInput<O> extends AbstractOutlet<O>
  • Field Details

    • state

      protected O state
  • Constructor Details

    • ValueInput

      public ValueInput(O state)
    • ValueInput

      public ValueInput()
  • Method Details

    • get

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

      public O set(O newState)