Java – LongPredicate Interface

Java LongPredicate Interface methods, variables available in Java 8 release are listed below. We will publish example program on each methods ASAP.

Methods in Java LongPredicate Interface

S.No Method & Description
1 default LongPredicate and(LongPredicate other)

Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
2 default LongPredicate negate()

Returns a predicate that represents the logical negation of this predicate.
3 default LongPredicate or(LongPredicate other)

Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
4 boolean test(long value)

Evaluates this predicate on the given argument.

Ask your questions in eHowToNow Forum

Post your technical, non-technical doubts, questions in our site. Get answer as soon as possible, meanwhile you can help others by answering, unanswered questions.
To Ask new Question : Ask Question
Check our existing discussions : Questions & Answers

  1. Java – LongUnaryOperator Interface
  2. Java – IntPredicate Interface
  3. Java – DoubleBinaryOperator Interface
  4. Java – LongToIntFunction Interface
  5. Java – UnaryOperator Interface
  6. Java – DoubleUnaryOperator Interface
  7. Java – ToIntFunction Interface
  8. Java – IntUnaryOperator Interface
  9. Java – LongConsumer Interface
  10. Java 8 Functional Interface
  11. Java – LongFunction Interface
  12. Java – Supplier Interface
  13. Java – ObjIntConsumer Interface
  14. Java – Function Interface
  15. Java – BiFunction Interface

Be the first to comment

Leave a Reply