java.lang.Object
swim.streamlet.AbstractMapOutlet<K,V,Map<K,V>>
swim.streamlet.MapInput<K,V>
-
Field Summary
FieldsFields inherited from class swim.streamlet.AbstractMapOutlet
effects, outlets, 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
.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
.boolean
Methods inherited from class swim.streamlet.AbstractMapOutlet
bindOutput, decohereInput, decohereInputKey, didDecohereInput, didDecohereInputKey, didRecohereInput, didRecohereInputKey, disconnectInputs, disconnectOutputs, onDecohereInput, onDecohereInputKey, onRecohereInput, onRecohereInputKey, outlet, outputIterator, recohereInput, recohereInputKey, unbindOutput, unbindOutputs, willDecohereInput, willDecohereInputKey, willRecohereInput, willRecohereInputKey
-
Field Details
-
state
-
-
Constructor Details
-
MapInput
-
MapInput
public MapInput()
-
-
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, Map<K, V>> - Specified by:
containsKey
in classAbstractMapOutlet<K,
V, 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
. -
put
-
removeKey
-
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, Map<K, V>> - Specified by:
keyIterator
in classAbstractMapOutlet<K,
V, Map<K, V>>
-