- java.lang.Object
-
- swim.streamlet.AbstractMapInoutlet<K,VI,VO,I,Map<K,VO>>
-
- swim.streamlet.combinator.MapFieldValuesOperator<K,VI,VO,I>
-
- All Implemented Interfaces:
Inlet<I>,Inoutlet<I,Map<K,VO>>,MapInlet<K,VI,I>,MapInoutlet<K,VI,VO,I,Map<K,VO>>,MapOutlet<K,VO,Map<K,VO>>,Outlet<Map<K,VO>>
- Direct Known Subclasses:
MapFieldValuesCombinator
public abstract class MapFieldValuesOperator<K,VI,VO,I> extends AbstractMapInoutlet<K,VI,VO,I,Map<K,VO>>
-
-
Constructor Summary
Constructors Constructor Description MapFieldValuesOperator()
-
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 VOevaluate(K key, VI value)Map<K,VO>get()Returns the current state of thisOutlet.VOget(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.-
Methods inherited from class swim.streamlet.AbstractMapInoutlet
bindInput, bindInput, bindOutput, decohere, decohereInput, decohereInputKey, decohereKey, decohereOutput, decohereOutputKey, didDecohere, didDecohereKey, didRecohere, didRecohereKey, disconnectInputs, disconnectOutputs, input, onDecohere, onDecohereKey, onRecohere, onRecohereKey, outlet, outputIterator, recohere, recohereInput, recohereInputKey, recohereKey, recohereOutput, recohereOutputKey, unbindInput, unbindOutput, unbindOutputs, willDecohere, willDecohereKey, willRecohere, willRecohereKey
-
-
-
-
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,VI,VO>- Specified by:
containsKeyin classAbstractMapInoutlet<K,VI,VO,I,Map<K,VO>>
-
get
public VO 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,VO> 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,VI,VO>- Specified by:
keyIteratorin classAbstractMapInoutlet<K,VI,VO,I,Map<K,VO>>
-
-