Java 8 stream is pull-based and can be used any time one uses Java 8+. It allows iterate of the values provided by the Stream object, which can represent a collection, file, or any other source of data.
Articles related to : term
Lambda expressions 1. Basics
Lambda expression allows simplifying an interface implementation, but only in the case of an interface with one abstract method only (called a functional interface). Instead of creating a class that implements the interface (and pass its object as a parameter), a lambda expression allows to to pass in only the method body, without creating an […]
Reactive programming 1. Basic idea
Reactive programming is considered difficult to learn, but it should not be. You have just grasp the very basic idea, and after you do, reactive programming becomes a more natural way to build data processing chain than the traditional procedural way.
Java functional programming
Functional programming sounds daunting for those, who are not familiar with it. But in fact, it is a very easy and elegant concept that allows writing much less and more compact code that contains only the essential functionality – without any plumbing.
Hiding vs overriding
Difference in the accessibility to the child public fields and methods using the reference to the parent can be a source of a confusion which we are going to resolve in this post.
String object is immutable. What does it mean?
In Java, String objects are immutable. Yet, it seems we are able to change them all the time. This contradiction is the source of much confusion. This article clarifies the matter and helps to avoid the confusion.