Interface IntPredicate

All Superinterfaces:
IntPredicate
All Known Implementing Classes:
IntPredicate.SimpleIntPredicate

public interface IntPredicate extends IntPredicate
An enhanced integer predicate.
Author:
Paul Ferraro
  • Field Details

  • Method Details

    • compose

      default <V> Predicate<V> compose(ToIntFunction<V> mapper)
      Returns a predicate that applies the specified mapping to its argument before evaluating.
      Type Parameters:
      V - the mapped type
      Parameters:
      mapper -
      Returns:
      a mapped predicate
    • and

      default IntPredicate and(IntPredicate other)
      Specified by:
      and in interface IntPredicate
    • negate

      default IntPredicate negate()
      Specified by:
      negate in interface IntPredicate
    • or

      default IntPredicate or(IntPredicate other)
      Specified by:
      or in interface IntPredicate
    • map

      default IntPredicate map(IntUnaryOperator mapper)
      Returns a predicate that applies the specified mapping to its argument before evaluating.
      Parameters:
      mapper -
      Returns:
      a mapped predicate
    • map

      default <V> Predicate<V> map(ToIntFunction<V> mapper)
      Returns a predicate that applies the specified mapping to its argument before evaluating.
      Type Parameters:
      V - the mapped type
      Parameters:
      mapper -
      Returns:
      a mapped predicate