Static methods

staticempty<T>():Optional<T>

staticof<T>(param1:T):Optional<T>

staticofNullable<T>(param1:T):Optional<T>

Methods

get():T

map<U>(param1:Function<Dynamic, U>):Optional<U>

orElse(param1:T):T

orElseGet(param1:Supplier<T>):T

@:throws("StdTypes")orElseThrow<X>(param1:Supplier<X>):T