If a value is present, performs the given action with the value, otherwise does nothing.
Parameters:
action
Exceptions:
NullPointerException
null
Diagram: Optional