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() |
evaluateprotected IsolatedVertexPredicate()
public static IsolatedVertexPredicate getInstance()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean evaluateVertex(ArchetypeVertex v)
true if the argument is a Vertex
whose degree is 0.evaluateVertex in class VertexPredicatePredicate.evaluate(java.lang.Object)