- 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 Constructor Description FilterFieldsOperator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(K key)Returnstrueif the current state of thisMapOutletcontains the givenkey; otherwise returnsfalse.abstract booleanevaluate(K key, V value)Map<K,V>get()Returns the current state of thisOutlet.Vget(K key)Returns the value assocaited with the givenkeyin the current state of thisMapOutlet, if defined; otherwise returnsnull.Iterator<K>keyIterator()Returns anIteratorover the keys in the current state of thisMapOutlet.protected voidonDecohereOutputKey(K key, KeyEffect effect)protected voidonRecohereOutputKey(K key, KeyEffect effect, int version)protected KeyEffectwillRecohereInputKey(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
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(K key)
Description copied from interface:MapOutletReturnstrueif the current state of thisMapOutletcontains the givenkey; otherwise returnsfalse.- Specified by:
containsKeyin interfaceMapOutlet<K,V,I>- Specified by:
containsKeyin classAbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
get
public V get(K key)
Description copied from interface:MapOutletReturns the value assocaited with the givenkeyin the current state of thisMapOutlet, if defined; otherwise returnsnull.
-
get
public Map<K,V> get()
Description copied from interface:OutletReturns the current state of thisOutlet.
-
keyIterator
public Iterator<K> keyIterator()
Description copied from interface:MapOutletReturns anIteratorover the keys in the current state of thisMapOutlet.- Specified by:
keyIteratorin interfaceMapOutlet<K,V,I>- Specified by:
keyIteratorin classAbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
onDecohereOutputKey
protected void onDecohereOutputKey(K key, KeyEffect effect)
- Overrides:
onDecohereOutputKeyin classAbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
onRecohereOutputKey
protected void onRecohereOutputKey(K key, KeyEffect effect, int version)
- Overrides:
onRecohereOutputKeyin classAbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
willRecohereInputKey
protected KeyEffect willRecohereInputKey(K key, KeyEffect effect, int version)
- Overrides:
willRecohereInputKeyin classAbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
-