Constructor and Description |
---|
Nullable()
Deprecated.
Constructor.
|
Nullable(E value)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
E |
getValue()
Deprecated.
Get the store value if any.
|
boolean |
hasValue()
Deprecated.
Get the status of this nullable.
|
void |
nullify()
Deprecated.
Set the stored value to null.
|
public Nullable()
public Nullable(E value)
value
- The value to set to this nullable.public E getValue()
public boolean hasValue()
public void nullify()
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.