Class MatcherPredicate<T>

  • All Implemented Interfaces:
    com.google.common.base.Predicate<T>, Predicate<T>

    @Deprecated
    public class MatcherPredicate<T>
    extends Object
    implements com.google.common.base.Predicate<T>
    Deprecated.
    since 6.8, use Matcher.matches(Object) method reference directly
    Predicate that is fulfilled when matcher matches the input
    • Constructor Detail

      • MatcherPredicate

        public MatcherPredicate​(@NotNull
                                @NotNull org.hamcrest.Matcher<T> matcher)
        Deprecated.
    • Method Detail

      • apply

        public boolean apply​(@Nullable
                             T input)
        Deprecated.
        Specified by:
        apply in interface com.google.common.base.Predicate<T>