Class IntExceptPredicate

  • All Implemented Interfaces:
    java.util.function.IntPredicate, IntPredicateProxy

    public class IntExceptPredicate
    extends java.lang.Object
    implements IntPredicateProxy
    An IntPredicate formed as the difference of two other predicates: it matches an integer if the first operand matches the integer and the second does not
    • Method Detail

      • test

        public boolean test​(int value)
        Ask whether a given value matches this predicate
        Specified by:
        test in interface java.util.function.IntPredicate
        Specified by:
        test in interface IntPredicateProxy
        value - the value to be tested
        true if the value matches; false if it does not
      • getOperands

        public IntPredicateProxy[] getOperands()
        Get the operands
        an array containing the two operands