Friday, December 05, 2025 5 posts

✍️ ningnong
Alright πŸš€ β€” here’s your Java Optional β€œRefactor Map” in a one-page visual-style table so you can instantly see how to replace common null patterns with Optional equivalents. Java Option...
Read more β†’
✍️ ningnong
This will show you how to replace old  null  checks with  Optional  in  real-world code  for cleaner, safer, and more functional-style Java. 1. Before: Trad...
Read more β†’
✍️ ningnong
Java Optional Cheat Sheet Category: Creation Methods / Descriptions: > Optional.empty() - Creates an empty Optional > Optional.of(value) - Creates Optional with non-null ...
Read more β†’
✍️ ningnong
java.util.Optional What is  Optional ? Optional<T>  is a  container object  introduced in  Java 8  to represent a value that may or may not be presen...
Read more β†’
✍️ ningnong
BIG thanks to iluwater , Java design Patterns website and book helping me learn Java. Abstract Document design pattern provides consistent way to handle hierarchical and tree-like data str...
Read more β†’