Interface CharArrayMatcher

All Known Subinterfaces:
LabelledCharArrayMatcher

public interface CharArrayMatcher
Matches a character array
NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    match(char[] s, int offset, int length)
    Return true if the passed-in character array matches
    default boolean
    match(CharsRef chars)
    Return true if the passed-in CharsRef matches
  • Method Details

    • match

      boolean match(char[] s, int offset, int length)
      Return true if the passed-in character array matches
    • match

      default boolean match(CharsRef chars)
      Return true if the passed-in CharsRef matches
    • fromTerms

      static CharArrayMatcher fromTerms(List<BytesRef> terms)