classycle.dependency
Class PatternVertexCondition

java.lang.Object
  extended by classycle.dependency.PatternVertexCondition
All Implemented Interfaces:
VertexCondition

public class PatternVertexCondition
extends java.lang.Object
implements VertexCondition

Author:
Franz-Josef Elmer

Constructor Summary
PatternVertexCondition(StringPattern pattern)
           
 
Method Summary
 boolean isFulfilled(Vertex vertex)
          Returns true if the specified vertex fulfills the condition.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatternVertexCondition

public PatternVertexCondition(StringPattern pattern)
Method Detail

isFulfilled

public boolean isFulfilled(Vertex vertex)
Description copied from interface: VertexCondition
Returns true if the specified vertex fulfills the condition.

Specified by:
isFulfilled in interface VertexCondition
Parameters:
vertex - The vertex to be checked. Can be null.
Returns:
false if vertex == null.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object