public class DagNodeWithCondition extends Object
| Constructor and Description |
|---|
DagNodeWithCondition(NodeBase node,
Condition condition)
Creates a new
DagNodeWithCondition object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Condition |
getCondition()
Returns the
Condition object of this DagNodeWithCondition. |
NodeBase |
getNode()
Returns the
NodeBase object of this DagNodeWithCondition. |
int |
hashCode() |
static boolean |
removeFromCollection(Collection<DagNodeWithCondition> collection,
NodeBase node)
Removes the first
DagNodeWithCondition object from a collection that has the provided node as its node. |
public DagNodeWithCondition(NodeBase node, Condition condition)
DagNodeWithCondition object.public static boolean removeFromCollection(Collection<DagNodeWithCondition> collection, NodeBase node)
DagNodeWithCondition object from a collection that has the provided node as its node.
If there is no such object in the collection, this method returns false;collection - The collection from which to remove an elementnode - The node to remove together with its condition.true if an element was removed; false if no matching element was contained in the collection.public NodeBase getNode()
NodeBase object of this DagNodeWithCondition.NodeBase object of this DagNodeWithCondition.public Condition getCondition()
Condition object of this DagNodeWithCondition.Condition object of this DagNodeWithCondition.Copyright © 2021 Apache Software Foundation. All rights reserved.