public class ConcatStringsNode<IN> extends Node<IN,java.lang.String>
ConcatStringsNode
combines the received input strings in a StringBuilder
until
InputNode.onCompleted(OutputNode)
is invoked. The resulting combined string is then
emitted as an output value.graph, inputNodes
Constructor and Description |
---|
ConcatStringsNode() |
Modifier and Type | Method and Description |
---|---|
void |
onCompleted(OutputNode<?> outputNode)
Invoked when the specified source
OutputNode is completed. |
protected java.lang.String |
processInput(OutputNode<IN> source,
IN input)
Invoked by
InputNode.onInput(OutputNode, Object) when the given input Object
has been received from the OutputNode that emitted it. |
action, action, addInputNode, attach, begin, begin, beginTimer, beginTimer, buffer, completed, concat, concatStrings, count, createErrorMessage, detach, dispatchError, dispatchReset, distinct, doOnCompleted, doOnError, doOnInput, doOnReset, emitOutput, emitOutput, filter, first, first, getGraph, hasInputNodes, isErrorReceived, last, last, map, merge, nth, observer, observer, onAttached, onDetached, onError, onInput, onReset, removeInputNode, repeat, reverse, setErrorReceived, setGraph, skip, skipWhile, start, string, sum, take, timer, timer, toBoolean, toByte, toChar, toDouble, toFloat, toInt, toLong, toMain, toShort, toWorker, whenClicked, whenTextChanged
protected java.lang.String processInput(OutputNode<IN> source, IN input)
Node
InputNode.onInput(OutputNode, Object)
when the given input Object
has been received from the OutputNode
that emitted it.processInput
in class Node<IN,java.lang.String>
source
- An OutputNode
that emitted the input.input
- The input Object
.public void onCompleted(OutputNode<?> outputNode)
InputNode
OutputNode
is completed.onCompleted
in interface InputNode<IN>
onCompleted
in class Node<IN,java.lang.String>
outputNode
- The completed OutputNode
.