Optional was something new introduced in Java 8 that allows you to wrap a value that might be null. By using Optional, you can perform operations to check if a value exists, get the value, return a default if no value exists or do something if it does.
I do find it very useful and I’ve been using it heavily in my last few projects. Check out this small video about it:
First of all, let me wish all of my readers an Excellent Year of 2016!
During 2015, I was not able to post as often as I would like. I guess the every blogger might have the same problem. I can’t make any promises, but I hope I can provide with great quality articles for 2016.
Java Tip of the Week
In the meanwhile, I’m starting a new initiative called the Java Tip of the Week. Instead of a regular blog post, it’s a video blog mostly around hands-on and live code. It’s also very short, around 5 minutes, so you can watch it on any break. It will feature all kinds of useful stuff that you can use on your everyday project. Hopefully, these would be easier to prepare than a regular blog post, so I can do more of them.