Category Archives: class optional

Java 8+ Functional Programming :: Class Optional<T>

https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html public final class Optional extends Object Optional is a container object used to contain not-null objects. Optional object is used to represent null with absent value. This class has various utility methods to facilitate code to handle values as … Continue reading

Posted in class optional | Tagged | Leave a comment