- java.lang.Object
-
- swim.streamlet.AbstractInoutlet<IO,IO>
-
- swim.streamlet.combinator.MemoizeValueCombinator<IO>
-
public class MemoizeValueCombinator<IO> extends AbstractInoutlet<IO,IO>
-
-
Constructor Summary
Constructors Constructor Description MemoizeValueCombinator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IO
get()
Returns the current state of thisOutlet
.Outlet<IO>
memoize()
protected void
onRecohere(int version)
-
Methods inherited from class swim.streamlet.AbstractInoutlet
bindInput, bindOutput, decohere, decohereInput, decohereOutput, didDecohere, didRecohere, disconnectInputs, disconnectOutputs, input, onDecohere, outputIterator, recohere, recohereInput, recohereOutput, unbindInput, unbindOutput, unbindOutputs, willDecohere, willRecohere
-
-
-
-
Field Detail
-
state
protected IO state
-
-
Method Detail
-
get
public IO get()
Description copied from interface:Outlet
Returns the current state of thisOutlet
.
-
onRecohere
protected void onRecohere(int version)
- Overrides:
onRecohere
in classAbstractInoutlet<IO,IO>
-
-