Interface Match<T>

  • Type Parameters:
    T - Type to match
    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 Match<T>
    Predicate with additional context. Implemented as abstract class as we're still on Java 6 and don't have default methods