edu.uci.ics.jung.graph.predicates
Class NotInGraphVertexPredicate
java.lang.Object
edu.uci.ics.jung.graph.predicates.GPredicate
edu.uci.ics.jung.graph.predicates.VertexPredicate
edu.uci.ics.jung.graph.predicates.NotInGraphVertexPredicate
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
- public class NotInGraphVertexPredicate
- extends VertexPredicate
A predicate that tests to see whether a specified
vertex is currently part of a graph. May be used as
a constraint. AbstractSparseGraph
includes this vertex constraint by default. Should
not be used as a subset specification.
- Author:
- Joshua O'Madadhain
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NotInGraphVertexPredicate
public NotInGraphVertexPredicate(ArchetypeGraph ag)
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
evaluateVertex
public boolean evaluateVertex(ArchetypeVertex av)
- Returns
true if this vertex is not currently
part of graph ag.
- Specified by:
evaluateVertex in class VertexPredicate