Java Streams - LongStream Example








Field

Method

  1. LongStream allMatch(LongPredicate predicate)
  2. LongStream anyMatch(LongPredicate predicate)
  3. LongStream asDoubleStream()
  4. LongStream average()
  5. LongStream boxed()
  6. LongStream builder()
  7. LongStream collect(Supplier supplier, ObjLongConsumer accumulator, BiConsumer combiner)
  8. LongStream concat(LongStream a, LongStream b)
  9. LongStream count()
  10. LongStream distinct()
  11. LongStream empty()
  12. LongStream filter(LongPredicate predicate)
  13. LongStream findAny()
  14. LongStream findFirst()
  15. LongStream flatMap(LongFunction mapper)
  16. LongStream forEachOrdered(LongConsumer action)
  17. LongStream forEach(LongConsumer action)
  18. LongStream generate(LongSupplier s)
  19. LongStream iterate(long seed, LongUnaryOperator f)
  20. LongStream iterator()
  21. LongStream limit(long maxSize)
  22. LongStream mapToDouble (LongToDoubleFunction mapper)
  23. LongStream mapToInt(LongToIntFunction mapper)
  24. LongStream mapToObj(LongFunction mapper)
  25. LongStream map(LongUnaryOperator mapper)
  26. LongStream max()
  27. LongStream min()
  28. LongStream noneMatch(LongPredicate predicate)
  29. LongStream of(long t)
  30. LongStream of(long... values)
  31. LongStream parallel()
  32. LongStream peek(LongConsumer action)
  33. LongStream rangeClosed(long startInclusive, long endInclusive)
  34. LongStream range(long startInclusive, long endExclusive)
  35. LongStream reduce(LongBinaryOperator op)
  36. LongStream reduce(long identity, LongBinaryOperator op)
  37. LongStream sequential()
  38. LongStream skip(long n)
  39. LongStream sorted()
  40. LongStream spliterator()
  41. LongStream summaryStatistics()
  42. LongStream sum()
  43. LongStream toArray()