@Test public void testConstructor() { new TextMatcher<>(TextMatchers.parse("[a-z]"), GlazedLists.toStringTextFilterator(), TextMatcherEditor.REGULAR_EXPRESSION, TextMatcherEditor.IDENTICAL_STRATEGY); try { new TextMatcher<>(TextMatchers.parse("[a-z]"), GlazedLists.toStringTextFilterator(), TextMatcherEditor.REGULAR_EXPRESSION, TextMatcherEditor.NORMALIZED_STRATEGY); fail("failed to receive an IllegalArgumentException using REGULAR_EXPRESSION and NORMALIZED_STRATEGY together"); } catch (IllegalArgumentException e) { } }
public static <E> SearchTerm<E>[] parse(String text) { return parse(text, Collections.<SearchEngineTextMatcherEditor.Field<E>>emptySet()); }
TextMatchers { public static <E> SearchTerm<E>[] parse(String text) { return parse(text, Collections.<SearchEngineTextMatcherEditor.Field<E>>emptySet()); } }
TextMatchers { public static <E> SearchTerm<E>[] parse(String text) { return parse(text, Collections.<SearchEngineTextMatcherEditor.Field<E>>emptySet()); }  }
TextMatchers { public static <E> SearchTerm<E>[] parse(String text) { return parse(text, Collections.<SearchEngineTextMatcherEditor.Field<E>>emptySet()); }  static boolean matches(List<String> filterStrings, TextFilterator<? super E> filterator, SearchTerm<E>[] searchTerms, TextSearchStrategy[] filterStrategies, E element); static SearchTerm[] normalizeSearchTerms(SearchTerm[] filters, TextSearchStrategy.Factory strategy); static SearchTerm<E>[] parse(String text); static SearchTerm<E>[] parse(String text, Set<SearchEngineTextMatcherEditor.Field<E>> fields); static boolean isMatcherConstrained(TextMatcher oldMatcher, TextMatcher newMatcher); static boolean isMatcherRelaxed(TextMatcher oldMatcher, TextMatcher newMatcher); }
TextMatchers { public static <E> SearchTerm<E>[] parse(String text) { return parse(text, Collections.<SearchEngineTextMatcherEditor.Field<E>>emptySet()); }  static boolean matches(List<String> filterStrings, TextFilterator<? super E> filterator, SearchTerm<E>[] searchTerms, TextSearchStrategy[] filterStrategies, E element); static SearchTerm[] normalizeSearchTerms(SearchTerm[] filters, TextSearchStrategy.Factory strategy); static SearchTerm<E>[] parse(String text); static SearchTerm<E>[] parse(String text, Set<SearchEngineTextMatcherEditor.Field<E>> fields); static boolean isMatcherConstrained(TextMatcher oldMatcher, TextMatcher newMatcher); static boolean isMatcherRelaxed(TextMatcher oldMatcher, TextMatcher newMatcher);  }