Posts

Showing posts with the label Stream and Collectors - Filter

Java 8 - Streams and Collectors (With examples)

Hi, I am Malathi Boggavarapu working at Volvo Group and i live in Gothenburg, Sweden. I have been working on Java since several years and had vast experience and knowledge across various technologies. This course will teach you about Java 8 feature - Streams and Collectors Stream and Collectors Stream : It is a new concept. It gives ways to efficiently process large amounts of data and also smaller amounts of data. Data can be processed automatically in parallel to leverage the computing power of multi core CPU's. What is a Stream? - Object on which one can define operations.Operations can be Map, Filter or Reduce operations - An object that does not hold any data. For example, in Collection i have data and do basic operations on it. On stream i don't hold any data. - An object that should not change the data it processes. Because it is distributed across multiple CPU's and since we don't want to be bothered with any visibility issues with a