Java, Software Development

Write Out XML Tags in Java using Lambda

Missed writing out an XML element end tag in your Java codes? You’re not alone. It is acceptable for small XML documents because spotting the erring codes is relatively easy.

Read More...

Software Development

Java Lambda Expression Parameter and Return Types

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.

Read More...

Software Development

Java 8 – Reuse Predicates by combining Lambdas

This post demonstrates how to reuse Predicate @FunctionalInterface implementations to reduce duplicate codes in your applications.

Read More...

Java, Software Development

Java 8 – Convert Iterator to Stream

Although not a common scenario, some libraries just return Iterator instead of actual Stream or Collection objects.

Read More...

Software Development

Create Your Own Functional Interface in Java 8

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?

Read More...