Stream In Java 8 and Its Features

Erp Solutions Oodles12 Sep, 2023Web Development

Java provides a new fresh package in Java 8 called java.util.stream. This package i.e. java.util.stream, consists of interfaces, classes and enum to allows functional-style operations on the element. You can use stream by importing java.util.stream package into a project. Stream provides following features: Stream doesn't store element. It simply transfers elements from a source such as a an array, data structure or an I/O channel, through a channel of computational operations. Stream is functional in nature. Operations performed on a stream doesn't modify it's source. For example, filtering a Stream attained from a collection produces a new Stream without the filtered element, rather than removing elements from the source collection. Stream is lazy and evaluates code only when needed.

Recent Profiles

Elite Tech Solutions

Elite Tech Solutions

View Profile

LUCKYWORLD

Luckyworld

View Profile

Keshubhai Mehta Eye Hospital

Keshubhai Mehta Eye Hospital

View Profile

Gerard Zappa Wooster

Gerard Zappa Wooster

View Profile

FIVE88 VCOM

Five88 Vcom

View Profile

S8gsinnet

S8gsinnet

View Profile

yozewit

Yozewit

View Profile

Felix Hospital

Felix Hospital

View Profile

1ST L.S LOCKSMITH

1st L.s Locksmith

View Profile

mu88consulting

Mu88consulting

View Profile