org.tm4j.panckoucke.util.AbstractionNodeUtils .getArcWithGestalt(org.tm4j.panckoucke.model.AMNode n,org.tm4j.panckoucke.model.AMGestalt gestalt,boolean incoming)

Description

Searches the collections of arcs of the given AMNode node for an arc with the given gestalt.
If several arcs match the criteria, only the first on is returned.
The param incoming toggles whether the incoming or the outgoing arcs of the node are searched.

Parameters
org.tm4j.panckoucke.model.AMGestalt gestalt the gestalt to search for. May be null. In that case, the methode returns the first arc encountered that does not specify a gestalt.
boolean incoming
org.tm4j.panckoucke.model.AMNode n

Returns

Other Resources

Related Topics