Returns the "recent cpu usage" for the operating environment.
Returns the amount of free memory in bytes.
Returns the total amount of memory in bytes.
Returns an approximation of the total amount of memory, in bytes,
allocated in heap memory for the current thread.
Returns a post-processing Filter
with the given description and
operation.
Returns a pre-processing Filter
with the given description and
operation.
Visits a SystemPropertyTree node.
Returns whether this instance is an inline tag.
Returns the kind of this case.
Returns the labels for this case.
Returns the labels for this case.
Returns the subclasses permitted by this type declaration.
Returns the module tree associated with this compilation unit,
or null
if there is no module declaration.
Returns the tested pattern, or null if this instanceof does not use
a pattern.
Visits an BindingPattern node.
Visits a DefaultCaseLabelTree node.
Visits a GuardPatternTree node.
Visits a ParenthesizedPatternTree node.
Visits a SwitchExpressionTree node.
Creates a new ReturnTree
object, to represent a @return
tag
or {@return}
tag.
Creates a new SystemPropertyTree
object, to represent a {@systemProperty }
tag.
Returns the language model type referred to by the leaf node of the given
DocTreePath
, or
null
if unknown.
Visits a SystemPropertyTree node.
Visits a SystemPropertyTree node.
Visits an BindingPattern node.
Visits a DefaultCaseLabelTree node.
Visits a GuardPatternTree node.
Visits a ParenthesizedPatternTree node.
Visits an BindingPattern node.
Visits a DefaultCaseLabelTree node.
Visits a GuardPatternTree node.
Visits a ParenthesizedPatternTree node.
Returns the
Charset
object used for
the
Console
.
Skips over and discards exactly n
bytes of data from this input
stream.
Returns a filter that returns Status.ALLOWED
if the predicate
on the class is true
.
Returns the JVM-wide deserialization filter factory.
Returns a filter that merges the status of a filter and another filter.
Returns a filter that returns Status.REJECTED
if the predicate
on the class is true
.
Returns a filter that invokes a given filter and maps UNDECIDED
to REJECTED
for classes, with some special cases, and otherwise returns the status.
Writes all bytes from the specified byte array to this stream.
Writes all bytes from the specified byte array to this stream.
Returns an
Optional
containing the nominal descriptor for this
instance.
Returns an
Optional
containing the nominal descriptor for this
instance.
Returns an
Optional
containing the nominal descriptor for this
instance.
Returns true
if this character sequence is empty.
Returns a
Class
for an array type whose component type
is described by this
Class.
Returns the component type of this Class
, if it describes
an array type, or null
otherwise.
Returns a nominal descriptor for this instance, if one can be
constructed, or an empty
Optional
if one cannot be.
Returns the descriptor string of the entity (class, interface, array class,
primitive type, or void
) represented by this Class
object.
Returns an array containing Class
objects representing the
direct subinterfaces or subclasses permitted to extend or
implement this class or interface if it is sealed.
Returns an array of RecordComponent
objects representing all the
record components of this record class, or null
if this class is
not a record class.
Returns true
if and only if the underlying class is a hidden class.
Returns true
if and only if this class is a record class.
Returns true
if and only if this Class
object represents
a sealed class or interface.
Returns an
Optional
containing the nominal descriptor for this
instance, which is the instance itself.
Resolves this instance as a
ConstantDesc
, the result of 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 a nominal descriptor for the specified enum
class and name
Returns an
Optional
containing the nominal descriptor for this
instance, which is the instance itself.
Resolves this instance as a
ConstantDesc
, the result of which is
the instance itself.
Returns an
Optional
containing the nominal descriptor for this
instance, which is the instance itself.
Resolves this instance as a
ConstantDesc
, the result of which is
the instance itself.
Applies a conversion from a source type to a destination type.
Return a nominal descriptor for this instance, if one can be
constructed, or an empty
Optional
if one cannot be.
Returns the class data associated with the lookup class
of the given caller
lookup object, or null
.
Returns the element at the specified index in the
class data,
if the class data associated with the lookup class
of the given
caller
lookup object is a
List
.
Drop the return value of the target handle (if any).
Creates a hidden class or interface from bytes
,
returning a Lookup
on the newly created class or interface.
Creates a
hidden class or interface from
bytes
with associated
class data,
returning a
Lookup
on the newly created class or interface.
Ensures that targetClass
has been initialized.
Returns true
if this lookup has full privilege access,
i.e.
Reports a lookup class in another module that this lookup object
was previously teleported from, or null
.
Returns a nominal descriptor for this instance, if one can be
constructed, or an empty
Optional
if one cannot be.
Returns a descriptor string for this method type.
Return a nominal descriptor for this instance, if one can be
constructed, or an empty
Optional
if one cannot be.
Returns a VarHandle, with access to the same variable(s) as this VarHandle, but whose
invocation behavior of access mode methods is adjusted to
invoke behavior.
Returns a VarHandle, with access to the same variable(s) as this VarHandle, but whose
invocation behavior of access mode methods is adjusted to
invoke-exact behavior.
Returns an
Optional
containing the nominal descriptor for this
instance, which is the instance itself.
Resolves this instance as a
ConstantDesc
, the result of which is
the instance itself.
Returns the mathematical absolute value of an int
value
if it is exactly representable as an int
, throwing
ArithmeticException
if the result overflows the
positive int
range.
Returns the mathematical absolute value of an long
value
if it is exactly representable as an long
, throwing
ArithmeticException
if the result overflows the
positive long
range.
Returns a
BufferedReader
connected to the standard
error of the process.
Returns a
BufferedReader
connected to the
standard error of this process using a Charset.
Returns a
BufferedReader
connected to the standard
output of the process.
Returns a
BufferedReader
connected to the
standard output of this process using a Charset.
Returns a BufferedWriter
connected to the normal input of the process
using the native encoding.
Returns a BufferedWriter
connected to the normal input of the process
using a Charset.
Tests if the referent of this reference object is obj
.
Invokes the specified default method on the given proxy
instance with
the given parameters.
Returns an
Optional
containing the nominal descriptor for this
instance.
Returns the mathematical absolute value of an int
value
if it is exactly representable as an int
, throwing
ArithmeticException
if the result overflows the
positive int
range.
Returns the mathematical absolute value of an long
value
if it is exactly representable as an long
, throwing
ArithmeticException
if the result overflows the
positive long
range.
Returns the argument decremented by one,
throwing an exception if the result overflows an int
.
Returns the argument decremented by one,
throwing an exception if the result overflows a long
.
Returns the argument incremented by one,
throwing an exception if the result overflows an int
.
Returns the argument incremented by one,
throwing an exception if the result overflows a long
.
Returns the negation of the argument,
throwing an exception if the result overflows an int
.
Returns the negation of the argument,
throwing an exception if the result overflows a long
.
Returns an
Optional
containing the nominal descriptor for this
instance, which is the instance itself.
Formats using this string as the format string, and the supplied
arguments.
Adjusts the indentation of each line of this string based on the value of
n
, and normalizes line termination characters.
Resolves this instance as a
ConstantDesc
, the result of which is
the instance itself.
Returns a string whose value is this string, with incidental
white space removed from
the beginning and end of every line.
This method allows the application of a function to this
string.
Returns a string whose value is this string, with escape sequences
translated as if in a string literal.
Leave a multicast group on a specified local interface.
Returns a BodyPublisher
that publishes a request
body consisting of the concatenation of the request bodies
published by a sequence of publishers.
Creates a Builder
whose initial state is copied from an existing
HttpRequest
.
Returns an
Optional
containing the
SSLSession
in
use on the original connection that retrieved the network resource.
Creates a new buffer whose content is a shared subsequence of
this buffer's content.
Absolute bulk get method.
Absolute bulk get method.
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Creates a new byte buffer whose content is a shared subsequence of
this buffer's content.
Opens a server-socket channel.
Opens a server-socket channel.
Absolute bulk get method.
Absolute bulk get method.
Returns true
if this character buffer is empty.
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Creates a new char buffer whose content is a shared subsequence of
this buffer's content.
Absolute bulk get method.
Absolute bulk get method.
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Creates a new double buffer whose content is a shared subsequence of
this buffer's content.
Finds and returns the position of the first mismatched byte in the content
of two files, or -1L
if there is no mismatch.
Constructs a new FileSystem
to access the contents of a file as a
file system.
Constructs a new FileSystem
to access the contents of a file as a
file system.
Constructs a new FileSystem
to access the contents of a file as a
file system.
Absolute bulk get method.
Absolute bulk get method.
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Creates a new float buffer whose content is a shared subsequence of
this buffer's content.
Absolute bulk get method.
Absolute bulk get method.
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Creates a new int buffer whose content is a shared subsequence of
this buffer's content.
Absolute bulk get method.
Absolute bulk get method.
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Creates a new long buffer whose content is a shared subsequence of
this buffer's content.
Forces any changes made to a region of this buffer's content to
be written to the storage device containing the mapped
file.
Absolute bulk get method.
Absolute bulk get method.
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Absolute bulk put method (optional operation).
Creates a new short buffer whose content is a shared subsequence of
this buffer's content.
Gets the character used for grouping separator for currencies.
Sets the character used for grouping separator for currencies.
Returns a compact number format for the default
FORMAT
locale with
"SHORT"
format style.
Returns a new NumberFormat
instance which formats
a number in its compact form for the specified
locale
and formatStyle
.
Appends the day period text to the formatter.
Returns a new CompletionStage that, when this stage completes
exceptionally, is executed with this stage's exception as the
argument to the supplied function, using this stage's default
asynchronous execution facility.
Returns a new CompletionStage that, when this stage completes
exceptionally, is executed with this stage's exception as the
argument to the supplied function, using the supplied Executor.
Returns a new CompletionStage that, when this stage completes
exceptionally, is composed using the results of the supplied
function applied to this stage's exception.
Returns a new CompletionStage that, when this stage completes
exceptionally, is composed using the results of the supplied
function applied to this stage's exception, using this stage's
default asynchronous execution facility.
Returns a new CompletionStage that, when this stage completes
exceptionally, is composed using the results of the supplied
function applied to this stage's exception, using the
supplied Executor.
Sets the object to be returned by invocations of
getBlocker
for the current thread.
Get a thread identifier for the thread where message originated
Set an identifier for the thread where the message originated.
Returns a copy of the given Map.Entry
.
Checks if the sub-range from fromIndex
(inclusive) to
fromIndex + size
(exclusive) is within the bounds of range from
0
(inclusive) to length
(exclusive).
Checks if the sub-range from fromIndex
(inclusive) to
toIndex
(exclusive) is within the bounds of range from 0
(inclusive) to length
(exclusive).
Checks if the index
is within the bounds of the range from
0
(inclusive) to length
(exclusive).
Returns a Collector
that is a composite of two downstream collectors.
Returns a stream consisting of the results of replacing each element of
this stream with multiple elements, specifically zero or more elements.
Returns a stream consisting of the results of replacing each element of
this stream with multiple elements, specifically zero or more elements.
Returns a stream consisting of the results of replacing each element of
this stream with multiple elements, specifically zero or more elements.
Returns a stream consisting of the results of replacing each element of
this stream with multiple elements, specifically zero or more elements.
Returns a DoubleStream
consisting of the results of replacing each
element of this stream with multiple elements, specifically zero or more
elements.
Returns an IntStream
consisting of the results of replacing each
element of this stream with multiple elements, specifically zero or more
elements.
Returns a LongStream
consisting of the results of replacing each
element of this stream with multiple elements, specifically zero or more
elements.
Accumulates the elements of this stream into a List
.
Returns true
if preview features are enabled
and false
otherwise.
Visits a record component element.
Returns the permitted classes of this class or interface
element in declaration order.
Returns the record components of this class or interface
element in declaration order.
Visits a record component element.
Returns a list of record components in elements
.
Returns a set of record components in elements
.
Visits a BINDING_VARIABLE
variable element.
Visits a RECORD
type element.
Visits a BINDING_VARIABLE
variable element.
Returns true
if the module element is an automatic
module, false
otherwise.
Returns the record component for the given accessor.
Returns an
Optional
containing the
SSLSession
in
use on this connection.
Returns an array of files representing the values to show by default in
the file chooser shortcuts panel.
Returns an icon for a file, directory, or folder as it would be displayed
in a system file browser for the requested size.
Returns file objects representing the given paths.
Creates a new NamespaceAware instance of the DocumentBuilderFactory
builtin system-default implementation.
Creates a new NamespaceAware instance of a DocumentBuilderFactory
.
Creates a new NamespaceAware instance of a DocumentBuilderFactory
from the class name.
Creates a new NamespaceAware instance of the SAXParserFactory
builtin system-default implementation.
Creates a new NamespaceAware instance of a SAXParserFactory
.
Creates a new NamespaceAware instance of a SAXParserFactory
from
the class name.
Returns a writer that can be used to write diagnostic output,
or null
if no such writer is available.
Returns a writer that can be used to write non-diagnostic output,
or null
if no such writer is available.
Prints a diagnostic message related to a position within a range of characters in a file.
Returns the locale for this doclet.
Returns the reporter for this doclet.
Writes recording data to a file.
Set to true to specify the inputs and outputs are connected to an interactive terminal
that can interpret the ANSI escape codes.
Writes recording data to a file.
Receives notification of the XML declaration.