berna39 / java-optionals

Java introduced a new class Optional in jdk8. It is a public final class and used to deal with NullPointerException in Java application. You must import java.util package to use this class. It provides methods which are used to check the presence of value for particular variable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java Optionals

Java introduced a new class Optional in jdk8. It is a public final class and used to deal with NullPointerException in Java application. You must import java.util package to use this class. It provides methods which are used to check the presence of value for particular variable.

In this repo, I'm illustratic some basis cases mixted with some functionl programing features :)

With Love,

~ Joe

About

Java introduced a new class Optional in jdk8. It is a public final class and used to deal with NullPointerException in Java application. You must import java.util package to use this class. It provides methods which are used to check the presence of value for particular variable.


Languages

Language:Java 100.0%