Class Operation.BinaryOperation<T>

  • Type Parameters:
    T - the parameter class of the predicates
    Enclosing class:
    Operation<T>

    public static class Operation.BinaryOperation<T>
    extends Operation<T>
    A logical operation that combines 2 predicates.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.function.Function<java.util.function.Predicate<T>,​java.util.function.Predicate<T>> leftOperand  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BinaryOperation​(Operator operator, java.util.function.Function<java.util.function.Predicate<T>,​java.util.function.Predicate<T>> leftOperand)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.function.Predicate<T> apply​(java.util.function.Predicate<T> rightOperand)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • leftOperand

        public final java.util.function.Function<java.util.function.Predicate<T>,​java.util.function.Predicate<T>> leftOperand
    • Constructor Detail

      • BinaryOperation

        protected BinaryOperation​(Operator operator,
                                  java.util.function.Function<java.util.function.Predicate<T>,​java.util.function.Predicate<T>> leftOperand)
    • Method Detail

      • apply

        public java.util.function.Predicate<T> apply​(java.util.function.Predicate<T> rightOperand)
        Specified by:
        apply in class Operation<T>