public class SimpleEdgePredicate extends EdgePredicate
isInitializationPredicate| Modifier | Constructor and Description |
|---|---|
protected |
SimpleEdgePredicate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateEdge(ArchetypeEdge ae)
Returns
true if ae is neither a
self-loop nor parallel to an existing edge. |
static SimpleEdgePredicate |
getInstance()
Returns an instance of this class.
|
java.lang.String |
toString() |
evaluatepublic static SimpleEdgePredicate getInstance()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean evaluateEdge(ArchetypeEdge ae)
true if ae is neither a
self-loop nor parallel to an existing edge.evaluateEdge in class EdgePredicate