Package ucar.nc2.util
Class Optional<T>
- java.lang.Object
-
- ucar.nc2.util.Optional<T>
-
@Deprecated public class Optional<T> extends Object
Deprecated.All uses will move to java.util.Optional in ver6Optional with an error message when empty
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> Optional<T>
empty(String errMessage)
Deprecated.T
get()
Deprecated.String
getErrorMessage()
Deprecated.boolean
isPresent()
Deprecated.static <T> Optional<T>
of(T value)
Deprecated.
-