https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html Optional (Java Platform SE 8 ) A container object which may or may not contain a non-null value. If a value is present, isPresent() will return true and get() will return the value. Additional methods that depend on the presence or absence of a contained value are provided, such as orEl docs.oracle.com A container object which may..