Java paralelization II – Streams

The paper provides a brief introduction to the default methods in Java interfaces, lambda expressions and the Streams API and presents a parallelization solution used by the Streams API.


The multiple inheritance of a class has long been unjustifiably held to be complex and unnecessary. Probably one of the main reasons is that multiple inheritance in C ++ is relatively poorly addressed. Based on such bad experiences, Java language designers (and later C #) decided not to support multiple class inheritance.
In Java 8, the introduction of multiple class inheritance started, using the default methods in Java interfaces.

The paper was created after the first part of the topic “Java paralelization”.