Interface StringMatcher

All Known Implementing Classes:
ContainsCamelCaseWordStringMatcher, ExactStringMatcher, RegexStringMatcher

public interface StringMatcher
A boolean predicate for matching String values.
Author:
David Hovemeyer
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return whether or not the given String matches.
  • Method Details

    • matches

      boolean matches(String s)
      Return whether or not the given String matches.
      Parameters:
      s - a String
      Returns:
      true if the String matches, false if it does not match