Java optional list null or empty July 8, 2019 16 32 64 128 Java 8 optional How to use optional in java 8