This blog article shows you how to use Stream API from Java 8 for processing data in a declarative manner.