Interface IApplicable<T>
-
- 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 IApplicable<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IApplicable<T>and(IApplicable<? super T> other)booleanisApplicable(T context)default IAcceptor<T>not()default IApplicable<T>or(IApplicable<? super T> other)
-
-
-
Method Detail
-
isApplicable
boolean isApplicable(T context)
-
and
default IApplicable<T> and(IApplicable<? super T> other)
-
or
default IApplicable<T> or(IApplicable<? super T> other)
-
-