java.lang.Object
swim.streamlet.AbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
swim.streamlet.combinator.FilterFieldsOperator<K,V,I>
- All Implemented Interfaces:
Inlet<I>
,MapInlet<K,
,V, I> MapInletMapOutlet<K,
,K, V, V, I, Map<K, V>> MapOutlet<K,
,V, Map<K, V>> Outlet<Map<K,
V>>
- Direct Known Subclasses:
FilterFieldsCombinator
public abstract class FilterFieldsOperator<K,V,I>
extends AbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
Field Summary
Fields inherited from class swim.streamlet.AbstractMapInletMapOutlet
input, inputEffects, outlets, outputEffects, outputs, version
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(K key) Returnstrue
if the current state of thisMapOutlet
contains the givenkey
; otherwise returnsfalse
.abstract boolean
get()
Returns the current state of thisOutlet
.Returns the value assocaited with the givenkey
in the current state of thisMapOutlet
, if defined; otherwise returnsnull
.Returns anIterator
over the keys in the current state of thisMapOutlet
.protected void
onDecohereOutputKey
(K key, KeyEffect effect) protected void
onRecohereOutputKey
(K key, KeyEffect effect, int version) protected KeyEffect
willRecohereInputKey
(K key, KeyEffect effect, int version) Methods inherited from class swim.streamlet.AbstractMapInletMapOutlet
bindInput, bindInput, bindOutput, decohere, decohereInput, decohereInputKey, decohereOutput, decohereOutputKey, didDecohere, didDecohereInputKey, didDecohereOutputKey, didRecohere, didRecohereInputKey, didRecohereOutputKey, disconnectInputs, disconnectOutputs, input, onDecohere, onDecohereInputKey, onRecohere, onRecohereInputKey, outlet, outputIterator, recohere, recohereInput, recohereInputKey, recohereOutput, recohereOutputKey, unbindInput, unbindOutput, unbindOutputs, willDecohere, willDecohereInputKey, willDecohereOutputKey, willRecohere, willRecohereOutputKey
-
Constructor Details
-
FilterFieldsOperator
public FilterFieldsOperator()
-
-
Method Details
-
containsKey
Description copied from interface:MapOutlet
Returnstrue
if the current state of thisMapOutlet
contains the givenkey
; otherwise returnsfalse
.- Specified by:
containsKey
in interfaceMapOutlet<K,
V, I> - Specified by:
containsKey
in classAbstractMapInletMapOutlet<K,
K, V, V, I, Map<K, V>>
-
get
Description copied from interface:MapOutlet
Returns the value assocaited with the givenkey
in the current state of thisMapOutlet
, if defined; otherwise returnsnull
. -
get
Description copied from interface:Outlet
Returns the current state of thisOutlet
. -
keyIterator
Description copied from interface:MapOutlet
Returns anIterator
over the keys in the current state of thisMapOutlet
.- Specified by:
keyIterator
in interfaceMapOutlet<K,
V, I> - Specified by:
keyIterator
in classAbstractMapInletMapOutlet<K,
K, V, V, I, Map<K, V>>
-
onDecohereOutputKey
- Overrides:
onDecohereOutputKey
in classAbstractMapInletMapOutlet<K,
K, V, V, I, Map<K, V>>
-
onRecohereOutputKey
- Overrides:
onRecohereOutputKey
in classAbstractMapInletMapOutlet<K,
K, V, V, I, Map<K, V>>
-
willRecohereInputKey
- Overrides:
willRecohereInputKey
in classAbstractMapInletMapOutlet<K,
K, V, V, I, Map<K, V>>
-
evaluate
-