- java.lang.Object
-
- swim.streamlet.AbstractOutlet<O>
-
- swim.streamlet.ValueInput<O>
-
- All Implemented Interfaces:
Outlet<O>
public class ValueInput<O> extends AbstractOutlet<O>
-
-
Field Summary
Fields Modifier and Type Field Description protected O
state
-
Fields inherited from class swim.streamlet.AbstractOutlet
outputs, version
-
-
Constructor Summary
Constructors Constructor Description ValueInput()
ValueInput(O state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description O
get()
Returns the current state of thisOutlet
.O
set(O newState)
-
Methods inherited from class swim.streamlet.AbstractOutlet
bindOutput, decohereInput, didDecohereInput, didRecohereInput, disconnectInputs, disconnectOutputs, onDecohereInput, onRecohereInput, outputIterator, recohereInput, unbindOutput, unbindOutputs, willDecohereInput, willRecohereInput
-
-