E5C9 java-8/src/com/learnJava8/optional at master · dmiller2117/java-8 · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History

Introduction to Optional

  • Introduced as part of Java 8 to represent a non-null value
  • Avoids null pointer exception and unnecessary null checks.
  • Inspired from the new languages such as Scala, Groovy etc.
0