public class PatternVertexCondition extends java.lang.Object implements VertexCondition
Constructor and Description |
---|
PatternVertexCondition(StringPattern pattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
isFulfilled(Vertex vertex)
Returns
true if the specified vertex fulfills the
condition. |
java.lang.String |
toString() |
public PatternVertexCondition(StringPattern pattern)
public boolean isFulfilled(Vertex vertex)
VertexCondition
true
if the specified vertex fulfills the
condition.isFulfilled
in interface VertexCondition
vertex
- The vertex to be checked. Can be null
.false
if vertex == null
.public java.lang.String toString()
toString
in class java.lang.Object