Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Uses of Class
java.util.Optional
Packages that use Optional
Provides classes that are fundamental to the design of the Java programming language.
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
Uses of Optional in java.lang
Methods in java.lang that return Optional
Returns an Optional containing the nominal descriptor for this instance.
Returns an Optional containing the nominal descriptor for this instance.
Character.describeConstable()
Returns an Optional containing the nominal descriptor for this instance.
Returns a nominal descriptor for this instance, if one can be constructed, or an empty Optional if one cannot be.
Returns an Optional containing the nominal descriptor for this instance, which is the instance itself.
Returns an enum descriptor EnumDesc for this instance, if one can be constructed, or an empty Optional if one cannot be.
Returns an Optional containing the nominal descriptor for this instance, which is the instance itself.
Returns an Optional containing the nominal descriptor for this instance, which is the instance itself.
Returns an Optional containing the nominal descriptor for this instance, which is the instance itself.
ModuleLayer.findModule(String name)
Returns the module with the given name in this layer, or if not in this layer, the parent layers.
ProcessHandle.of(long pid)
Returns an Optional<ProcessHandle> for an existing native process.
ProcessHandle.parent()
Returns an Optional<ProcessHandle> for the parent process.
ProcessHandle.Info.arguments()
Returns an array of Strings of the arguments of the process.
ProcessHandle.Info.command()
Returns the executable pathname of the process.
ProcessHandle.Info.commandLine()
Returns the command line of the process.
ProcessHandle.Info.startInstant()
Returns the start time of the process.
ProcessHandle.Info.totalCpuDuration()
Returns the total cputime accumulated of the process.
ProcessHandle.Info.user()
Return the user of the process.
Runtime.Version.build()
Returns the build number.
Runtime.Version.optional()
Returns optional additional identifying build information.
Runtime.Version.pre()
Returns the optional pre-release information.
Returns an Optional containing the nominal descriptor for this instance.
Returns an Optional containing the nominal descriptor for this instance, which is the instance itself.
Uses of Optional in java.util
Methods in java.util that return Optional
static <T> Optional<T>
Optional.empty()
Returns an empty Optional instance.
Optional.filter(Predicate<? super T> predicate)
If a value is present, and the value matches the given predicate, returns an Optional describing the value, otherwise returns an empty Optional.
Optional.flatMap(Function<? super T,? extends Optional<? extends U>> mapper)
If a value is present, returns the result of applying the given Optional-bearing mapping function to the value, otherwise returns an empty Optional.
Optional.map(Function<? super T,? extends U> mapper)
If a value is present, returns an Optional describing (as if by Optional.ofNullable(T)) the result of applying the given mapping function to the value, otherwise returns an empty Optional.
static <T> Optional<T>
Optional.of(T value)
Returns an Optional describing the given non-null value.
static <T> Optional<T>
Optional.ofNullable(T value)
Returns an Optional describing the given value, if non-null, otherwise returns an empty Optional.
Optional.or(Supplier<? extends Optional<? extends T>> supplier)
If a value is present, returns an Optional describing the value, otherwise returns an Optional produced by the supplying function.
ServiceLoader.findFirst()
Load the first available service provider of this loader's service.
Method parameters in java.util with type arguments of type Optional
Optional.flatMap(Function<? super T,? extends Optional<? extends U>> mapper)
If a value is present, returns the result of applying the given Optional-bearing mapping function to the value, otherwise returns an empty Optional.
Optional.or(Supplier<? extends Optional<? extends T>> supplier)
If a value is present, returns an Optional describing the value, otherwise returns an Optional produced by the supplying function.

 Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Java API documentation generated with FlexDoc/Javadoc 2.0 using JavadocClassic 3.0 template set.
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, FlexDoc/Javadoc may be the only tool able to help you! Find out more at www.flexdoc.xyz