Skip to content

📚 Predicate, BiPredicate, DoublePredciate, IntPredciate, LongPredicate

License

Notifications You must be signed in to change notification settings

HunorVadaszPerhat/java-predicate

Repository files navigation

JAVA - Predicate

Predicate

  • test:
    • evaluates this predicate on the given argument
    • boolean test(T t)
    • link
  • and:
    • returns a composed predicate that represents a short-circuiting logical AND of this predicate and another
    • default Predicate and(Predicate<? super T> other)
    • link
  • negate:
    • returns a predicate that represents the logical negation of this predicate
    • default Predicate negate()
    • link
  • or:
    • returns a composed predicate that represents a short-circuiting logical OR of this predicate and another
    • default Predicate or(Predicate<? super T> other)
    • link
  • isEqual:
    • returns a predicate that tests if two arguments are equal according to Objects.equals(Object, Object)
    • static Predicate isEqual(Object targetRef)
    • link

IntPredicate:

  • test:
    • evaluates this predicate on the given argument
    • boolean test(int value)
    • link
  • and:
    • returns a composed predicate that represents a short-circuiting logical AND of this predicate and another
    • default IntPredicate and(IntPredicate other)
    • link
  • negate:
    • returns a predicate that represents the logical negation of this predicate
    • default IntPredicate negate()
    • link
  • or:
    • represents a short-circuiting logical OR of this predicate and another
    • default IntPredicate or(IntPredicate other)
    • link

LongPredicate

  • test:
    • evaluates this predicate on the given argument
    • boolean test(long value)
    • link
  • and:
    • returns a composed predicate that represents a short-circuiting logical AND of this predicate and another
    • default LongPredicate and(LongPredicate other)
    • link
  • negate:
    • returns a predicate that represents the logical negation of this predicate
    • default LongPredicate negate()
    • link
  • or:
    • returns a composed predicate that represents a short-circuiting logical OR of this predicate and another
    • default LongPredicate or(LongPredicate other)
    • link

DoublePredicate

  • test:
    • evaluates this predicate on the given argument
    • boolean test(double value)
    • link
  • and:
    • returns a composed predicate that represents a short-circuiting logical AND of this predicate and another
    • default DoublePredicate and(DoublePredicate other)
    • link
  • negate:
    • represents the logical negation of this predicate
    • default DoublePredicate negate()
    • link
  • or:
    • returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
    • default DoublePredicate or(DoublePredicate other)
    • link

BiPredicate

  • test:
    • evaluates this predicate on the given arguments
    • boolean test(T t, U u)
    • link
  • and:
    • returns a composed predicate that represents a short-circuiting logical AND of this predicate and another
    • default BiPredicate<T,U> and(BiPredicate<? super T,? super U> other)
    • link
  • negate:
    • returns a predicate that represents the logical negation of this predicate
    • default BiPredicate<T,U> negate()
    • link
  • or:
    • returns a composed predicate that represents a short-circuiting logical OR of this predicate and another
    • default BiPredicate<T,U> or(BiPredicate<? super T,? super U> other)
    • link

About

📚 Predicate, BiPredicate, DoublePredciate, IntPredciate, LongPredicate

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages