This post demonstrates how to reuse Predicate @FunctionalInterface implementations to reduce duplicate codes in your applications.
Although not a common scenario, some libraries just return Iterator instead of actual Stream or Collection objects.
What is a Functional Interface? [wp_ad_camp_1] Java 8 offers Lambda expressions to help us write better, and concise codes. Lambda expressions revolve around Functional Interfaces. So, what are Functional Interfaces?
This post demonstrates the type of arguments we can pass to and return from a Lambda expression based on the functional interface abstract method definition.
Did you miss writing out an XML element end tag in your Java codes? It is fine when generating a small XML document because it is easy to spot the erring codes.