Java, Software Development

How To Use Java 8 Stream Reduce Example

This post shows how to use Java Stream Reduce with example codes. The idea of the reduce operation is the generation of a single result from a collection of values

Read More...

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

Change Java Language Level in IntelliJ IDEA

This post shows how to change Java Language Level in IntelliJ IDEA .

Read More...

Software Development

Java – Sort Objects in Collections

Before Java 8, sorting objects in collections is a bit awkward and verbose in terms of the amount of codes you need to put in. With Java 8, things got easier because of Lambda expressions.

Read More...

Software Development

Java 8 Convert values in a Stream using Map

Convert any value or object to a different type. For instance, MyEntityBean to MyEntityAPI. No loops. Just Lambda.

Read More...

Software Development

Java 8 Get the Min and Max values in a Stream

Do you remember your first programming assignment in college? Most like it is one of those simple Mathematics like get the min and max values from a given list. How about from a list of objects?

Read More...