Java Streams - IntStream Example








Field

Method

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