public class NotInGraphEdgePredicate extends EdgePredicate implements UncopyablePredicate
AbstractSparseGraph
includes this edge constraint by default. Should
not be used as a subset specification.isInitializationPredicate
Constructor and Description |
---|
NotInGraphEdgePredicate(ArchetypeGraph ag) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
boolean |
evaluateEdge(ArchetypeEdge e)
Returns
true if this edge is not currently
part of graph ag . |
int |
hashCode() |
java.lang.String |
toString() |
evaluate
public NotInGraphEdgePredicate(ArchetypeGraph ag)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean evaluateEdge(ArchetypeEdge e)
true
if this edge is not currently
part of graph ag
.evaluateEdge
in class EdgePredicate