T
- Type for the content of the option.public abstract static class JoinRuleUtils.Option<T> extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
JoinRuleUtils.Option.None<T> |
(package private) static class |
JoinRuleUtils.Option.Some<T> |
Constructor and Description |
---|
Option() |
Modifier and Type | Method and Description |
---|---|
T |
getValue()
Returns the value of this object if is a Some; otherwise,
an exception is thrown.
|
boolean |
isSome() |
public boolean isSome()
public T getValue()
IllegalAccessError
- If this object is a None.