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 IntStream peek() method with example
  2. Java LongStream filter() method with example
  3. Java Stream mapToDouble() method with example
  4. Java LongStream average() method with example
  5. Java LongStream mapToDouble() method with example
  6. Java DoubleStream flatMap() method with example
  7. Java LongStream limit() method with example
  8. Java IntStream iterator() method with example
  9. Java – Collectors Class
  10. Java Stream noneMatch() method with example
  11. Java IntStream mapToDouble() method with example
  12. Java DoubleStream sequential() method with example
  13. Java – Collector Interface
  14. Java LongStream asDoubleStream() method with example
  15. Java DoubleStream map() method with example

Be the first to comment

Leave a Reply