T - the type parameter
 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 orElse() (return a default value if value not present) and ifPresent()
 (execute a block of code if the value is present).public abstract class SDKOptional<T>
extends java.lang.Object
| Constructor and Description | 
|---|
SDKOptional()  | 
| Modifier and Type | Method and Description | 
|---|---|
static <T> SDKOptional<T> | 
absent()
Absent optional. 
 | 
abstract T | 
get()
Get t. 
 | 
abstract boolean | 
isPresent()
Is present. 
 | 
static <T> SDKOptional<T> | 
of(T object)
Of optional. 
 | 
public abstract boolean isPresent()
public abstract T get()
public static <T> SDKOptional<T> of(T object)
T - the type parameterobject - the objectpublic static <T> SDKOptional<T> absent()
T - the type parameter