If a value is present, returns the value, otherwise throws NoSuchElementException.
NoSuchElementException
Returns: the value described by this OptionalInt
OptionalInt
Exceptions:
Since: 10
Diagram: Optional