Class PatternVertexCondition

  • All Implemented Interfaces:
    VertexCondition

    public class PatternVertexCondition
    extends java.lang.Object
    implements VertexCondition
    Author:
    Franz-Josef Elmer
    • 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