Optional.get

Returns the value of this optional if it is set. If not set then an exception is thrown.

struct Optional
T
get
()

Return Value

Type: T

the value

Throws

Throwable if no value is present

Meta