Example usage for Java java.util OptionalLong fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | isPresent If true then the value is present, otherwise indicates no value is present |
long | getAsLong() If a value is present, returns the value, otherwise throws NoSuchElementException . |
OptionalLong | of(long value) Returns an OptionalLong describing the given value. |