Java

Java Time API QuickStart

The authors and designers of Java 8, with Stephen Colebourne (author:the Joda-Time library), under JSR 310, have finally delivered us the native Java Date Time API we always wanted, but never had.

Read more

Lambda Expressions in Java

Lambda Expressions were introduced to Java in Java SE 8. These expressions are modeled on the basis of the mathematical concept of Lambda Calculus (also written as λ-calculus).

Read more

How to create an Empty Optional

Java 8 introduced the java.util.Optional<T> class to reflect an optional value. The following example demonstrates how to create an Empty Optional Java 8 onwards.

Read more

Create Optional Object from Nullable Object

The following example demonstrates how to convert a previously (pre-Java 8) Nullable object to an Optional object Java 8 onwards.

Read more