Package com.lumiomedical.flow.node
Class BiNode
java.lang.Object
com.lumiomedical.flow.node.AbstractNode
com.lumiomedical.flow.node.BiNode
- All Implemented Interfaces:
Node
,Comparable<Node>
- Direct Known Subclasses:
Join
,StreamJoin
public abstract class BiNode extends AbstractNode
- Author:
- Pierre Lecerf ([email protected]) Created on 2020/03/02
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected void
bind(SimpleNode other)
List<Node>
getUpstream()
Returns the list of upstream nodes, ie. nodes which output is required in order to execute the current node.Node
getUpstream1()
Node
getUpstream2()
Methods inherited from class com.lumiomedical.flow.node.AbstractNode
after, after, equals, getDownstream, getRequiredBy, getRequirements, getUid, hashCode
-
Constructor Details
-
BiNode
- Parameters:
upstream1
-upstream2
-
-
-
Method Details
-
bind
- Parameters:
other
-
-
getUpstream1
- Returns:
-
getUpstream2
- Returns:
-
getUpstream
Description copied from interface:Node
Returns the list of upstream nodes, ie. nodes which output is required in order to execute the current node. For Source nodes, this should be empty. For Pipe and Sink nodes, this should be a list of size 1. For Join nodes, this should be a list of size 2.- Returns:
- the list of upstream nodes
-