public class IsolatedVertexPredicate extends VertexPredicate
isInitializationPredicate
Modifier | Constructor and Description |
---|---|
protected |
IsolatedVertexPredicate()
This constructor is protected in order to keep equals working by
retaining only one instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluateVertex(ArchetypeVertex v)
Returns
true if the argument is a Vertex
whose degree is 0. |
static IsolatedVertexPredicate |
getInstance()
Returns an instance of this class.
|
java.lang.String |
toString() |
evaluate
protected IsolatedVertexPredicate()
public static IsolatedVertexPredicate getInstance()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean evaluateVertex(ArchetypeVertex v)
true
if the argument is a Vertex
whose degree is 0.evaluateVertex
in class VertexPredicate
Predicate.evaluate(java.lang.Object)