|
FlexDoc/Javadoc 2.0 Demo Java Doc |
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.
|
Boolean.describeConstable()
Returns an Optional containing the nominal descriptor for this
instance.
|
|
Byte.describeConstable()
Returns an Optional containing the nominal descriptor for this
instance.
|
|
Character.describeConstable()
Returns an Optional containing the nominal descriptor for this
instance.
|
|
Class.describeConstable()
Returns a nominal descriptor for this instance, if one can be
constructed, or an empty Optional if one cannot be.
|
|
Double.describeConstable()
Returns an Optional containing the nominal descriptor for this
instance, which is the instance itself.
|
|
Enum.describeConstable()
Returns an enum descriptor EnumDesc for this instance, if one can be
constructed, or an empty Optional if one cannot be.
|
|
Float.describeConstable()
Returns an Optional containing the nominal descriptor for this
instance, which is the instance itself.
|
|
Integer.describeConstable()
Returns an Optional containing the nominal descriptor for this
instance, which is the instance itself.
|
|
Long.describeConstable()
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.
|
|
static Optional<ProcessHandle> |
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.
|
|
Short.describeConstable()
Returns an Optional containing the nominal descriptor for this
instance.
|
|
String.describeConstable()
Returns an Optional containing the nominal descriptor for this
instance, which is the instance itself.
|
Optional.empty()
Returns an empty Optional instance.
|
|
If a value is present, and the value matches the given predicate,
returns an Optional describing the value, otherwise returns an
empty Optional.
|
|
If a value is present, returns the result of applying the given
Optional-bearing mapping function to the value, otherwise returns
an empty Optional.
|
|
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.
|
|
Returns an Optional describing the given non-null
value.
|
|
Optional.ofNullable(T value)
Returns an Optional describing the given value, if
non-null, otherwise returns an empty Optional.
|
|
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.
|
If a value is present, returns the result of applying the given
Optional-bearing mapping function to the value, otherwise returns
an empty Optional.
|
|
If a value is present, returns an Optional describing the value,
otherwise returns an Optional produced by the supplying function.
|
|
FlexDoc/Javadoc 2.0 Demo Java Doc |