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 LongStream allMatch() method with example
  2. Java – Stream Interface
  3. Java IntStream allMatch() method with example
  4. Java IntStream iterator() method with example
  5. Java DoubleStream min() method with example
  6. Java DoubleStream mapToInt() method with example
  7. Java BaseStream sequential() method with example
  8. Java IntStream asLongStream() method with example
  9. Java Stream filter() method with example
  10. Java – Stream.Builder Interface
  11. Java IntStream findAny() method with example
  12. Java IntStream.Builder build() method with example
  13. Java IntStream average() method with example
  14. Java IntStream spliterator() method with example
  15. Java LongStream average() method with example

Be the first to comment