Package Package : Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.

Interfaces in Package

S.No Interface & Description
1 BaseStream<T,S extends BaseStream<T,S>>

Base interface for streams, which are sequences of elements supporting sequential and parallel aggregate operations.
2 Collector<T,A,R>

A mutable reduction operation that accumulates input elements into a mutable result container, optionally transforming the accumulated result into a final representation after all input elements have been processed.
3 DoubleStream

A sequence of primitive double-valued elements supporting sequential and parallel aggregate operations.
4 DoubleStream.Builder

A mutable builder for a DoubleStream.
5 IntStream

A sequence of primitive int-valued elements supporting sequential and parallel aggregate operations.
6 IntStream.Builder

A mutable builder for an IntStream.
7 LongStream

A sequence of primitive long-valued elements supporting sequential and parallel aggregate operations.
8 LongStream.Builder

A mutable builder for a LongStream.
9 Stream<T>

A sequence of elements supporting sequential and parallel aggregate operations.
10 Stream.Builder<T>

A mutable builder for a Stream.

Classes in Package

S.No Class & Description
1 Collectors

Implementations of Collector that implement various useful reduction operations, such as accumulating elements into collections, summarizing elements according to various criteria, etc.
2 StreamSupport

Low-level utility methods for creating and manipulating streams.

Enums in Package

S.No Enum & Description
1 Collector.Characteristics

Characteristics indicating properties of a Collector, which can be used to optimize reduction implementations.

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 DoubleStream allMatch() method with example
  2. Java LongStream peek() method with example
  3. Java LongStream noneMatch() method with example
  4. Java IntStream filter() method with example
  5. Java Stream findAny() method with example
  6. Java BaseStream onClose() method with example
  7. Java BaseStream close() method with example
  8. Java IntStream count() method with example
  9. Java DoubleStream skip() method with example
  10. Java IntStream mapToObj() method with example
  11. Java LongStream iterator() method with example
  12. Java IntStream anyMatch() method with example
  13. Java IntStream sequential() method with example
  14. Java DoubleStream boxed() method with example
  15. Java IntStream skip() method with example

Be the first to comment

Leave a Reply