@get


Description:

public T @get ()

Returns the contained value. Returns null if no value is present.

Example:

    var opt = Optional.of<string> ("hello");
assert (opt.get () == "hello");

Returns:

the value, or null if empty.