Interface SearchMatchAlgorithm

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SearchMatchAlgorithm
Interface to match given text with a pattern into a result.
  • Method Summary

    Modifier and Type
    Method
    Description
    match(boolean caseSensitive, boolean normalize, boolean forward, String text, String pattern)
    Match given text with pattern as a result.
  • Method Details

    • match

      SearchMatchResult match(boolean caseSensitive, boolean normalize, boolean forward, String text, String pattern)
      Match given text with pattern as a result.
      Parameters:
      caseSensitive - the caseSensitive
      normalize - the normalize
      forward - the forward
      text - the test
      pattern - the pattern
      Returns:
      a search match result