New API since JDK 11
Contents
Show API added in:
-
ModuleAdded inDescription16Defines the Java Packaging tool, jpackage.14Defines JDK-specific file mapping modes.
-
PackageAdded inDescription12Classes and interfaces to represent nominal descriptors for run-time entities such as classes or method handles, and classfile entities such as constant pool entries or
invokedynamic
call sites.14Thejava.lang.runtime
package provides low-level runtime support for the Java language.17This package contains classes and interfaces that support a generic API for random number generation.
-
InterfaceAdded inDescription18A view of the immutable request state of an HTTP exchange.18A tree node for an
@snippet
inline tag.12A tree node for an@systemProperty
inline tag.16A binding pattern tree17A marker interface forTree
s that may be used asCaseTree
labels.19A case label element that refers to a constant expression19A deconstruction pattern tree.17A case label that marksdefault
incase null, default
.17A tree node for a parenthesized pattern.19A case label element that refers to an expression16A tree node used as the base class for the different kinds of patterns.12A tree node for aswitch
expression.13A tree node for ayield
statement.13A provider for parameter names when the parameter names are not determined from a reliable source, like a classfile.12A nominal descriptor for aClass
constant.12Represents a type which is constable.12A nominal descriptor for a loadable constant value, as defined in JVMS 4.4.12A nominal descriptor for a directMethodHandle
.12A nominal descriptor for aMethodHandle
constant.12A nominal descriptor for a MethodType constant.19An object that may be projected down to a memory addressPREVIEW.19A linker provides access to foreign functions from Java code, and access to Java code from foreign functions.19A memory address models a reference into a memory location.19A memory layout can be used to describe the contents of a memory segment.19An element in a layout path.19A memory segment models a contiguous region of memory.19A memory session manages the lifecycle of one or more resources.19A variable argument list, similar in functionality to a Cva_list
.19A builder used to construct a variable argument listPREVIEW.12An entity that has a type descriptor.12An entity that has a field type descriptor.12An entity that has a method type descriptor Method descriptors conforming to JVMS 4.3.3 can be described nominally viaMethodType::describeConstable
; otherwise they cannot be described nominally.19A builder forThread
andThreadFactory
objects.19A builder for creating a platformThread
orThreadFactory
that creates platform threads.19A builder for creating a virtualThread
orThreadFactory
that creates virtual threads.18This interface defines operations for looking up host names and IP addresses.18AConfiguration
object is supplied to theInetAddressResolverProvider.get(Configuration)
method when setting the system-wide resolver.15An interface for an elliptic curve public/private key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).15An interface for an elliptic curve private key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).15An interface for an elliptic curve public key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).17Provides access to the current instant.17TheRandomGenerator
interface is designed to provide a common protocol for objects that generate random or (more typically) pseudorandom sequences of numbers (or Boolean values).16Represents an operation that accepts adouble
-valued argument and a DoubleConsumer, and returns no result.16Represents an operation that accepts anint
-valued argument and an IntConsumer, and returns no result.16Represents an operation that accepts along
-valued argument and a LongConsumer, and returns no result.16Represents a record component.14Represents a stream of events.
-
ClassAdded inDescription18Implementations of
HttpHandler
that implement various useful handlers, such as a static response handler, or a conditional handler that complements one handler with another.18A simple HTTP file server and its components (intended for testing, development and debugging purposes only).12Predefined values of nominal descriptor for common constants, including descriptors for primitive class types and other common platform types, and descriptors for method handles for standard bootstrap methods.12A nominal descriptor for aninvokedynamic
call site.12A nominal descriptor for a dynamic constant (one described in the constant pool withConstant_Dynamic_info
.)12A nominal descriptor for anenum
constant.19A function descriptor is made up of zero or more argument layouts and zero or one return layout.19A compound layout that aggregates multiple member layouts.19A compound layout that denotes a repetition of a given element layout.19A value layout.19A value layout whose carrier isMemoryAddress.class
.19A value layout whose carrier isboolean.class
.19A value layout whose carrier isbyte.class
.19A value layout whose carrier ischar.class
.19A value layout whose carrier isdouble.class
.19A value layout whose carrier isfloat.class
.19A value layout whose carrier isint.class
.19A value layout whose carrier islong.class
.19A value layout whose carrier isshort.class
.12A nominal descriptor for aVarHandle
constant.16This is the common base class of all Java language record classes.16ARecordComponent
provides information about, and dynamic access to, a component of a record class.16Bootstrap methods for state-driven implementations of core methods, includingObject.equals(Object)
,Object.hashCode()
, andObject.toString()
.17Bootstrap methods for linkinginvokedynamic
call sites that implement the selection functionality of theswitch
statement.18ALookupPolicy
object describes characteristics that can be applied to a lookup operation.18Service-provider class for InetAddress resolvers.16A Unix domain socket address.15A class used to specify EdDSA signature and verification parameters.15An elliptic curve point used to specify keys as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).15A class representing elliptic curve private keys as defined in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA), including the curve and other algorithm parameters.15A class representing elliptic curve public keys as defined in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA), including the curve and other algorithm parameters.12CompactNumberFormat
is a concrete subclass ofNumberFormat
that formats a decimal number in its compact form.17HexFormat
converts between bytes and chars and hex-encoded strings which may include additional formatting markup such as prefixes, suffixes, and delimiters.17This is a factory class for generating multiple random number generators of a specific algorithm.14A skeletal visitor for annotation values with default behavior appropriate for source versionRELEASE_14
.16A skeletal visitor of program elements with default behavior appropriate for theRELEASE_14
source version.14A skeletal visitor of types with default behavior appropriate for theRELEASE_14
source version.16A visitor of program elements based on their kind with default behavior appropriate for theRELEASE_14
source version.16A scanning visitor of program elements with default behavior appropriate for theRELEASE_14
source version.14A simple visitor for annotation values with default behavior appropriate for source versionRELEASE_14
.16A simple visitor of program elements with default behavior appropriate for theRELEASE_14
source version.14A simple visitor of types with default behavior appropriate for source versionRELEASE_14
.14A visitor of types based on their kind with default behavior appropriate for source versionRELEASE_14
.12Service-provider class for DNS lookups when performing LDAP operations.12The result of a DNS lookup for an LDAP URL.17Parameters for the XML Signature RSASSA-PSS Algorithm.19A basic API for structured concurrency.19AStructuredTaskScope
that captures the exception of the first subtask to complete abnormally.19AStructuredTaskScope
that captures the result of the first subtask to complete successfully.16Event that contains information about event types and configurations.14A recording stream produces events from the current JVM (Java Virtual Machine).16An implementation of anEventStream
that can serialize events over the network using anMBeanServerConnection
.14JDK-specific map modes.
-
Enum ClassAdded inDescription19Thread dump format.18Describes the log message output level produced by the server when processing exchanges.12The syntactic form of this case: STATEMENT:
case <expression>: <statements>
RULE:case <expression> -> <expression>/<statement>
12Kinds of method handles that can be described with DirectMethodHandleDesc.15The set of class options that specify whether a hidden class created byLookup::defineHiddenClass
method is dynamically added as a new member to the nest of a lookup class and/or whether a hidden class has a strong relationship with the class loader marked as its defining loader.12A number format style.19Represents the computation state.19A span attribute which can be used to derive a coloring.
-
Exception ClassAdded inDescription19Thrown to indicate an operation could not be performed on a frame.19Thrown to indicate an unexpected failure in pattern matching.19Thrown to indicate that a method has been called on the wrong thread.19Thrown when a structure violation is detected.
-
Record ClassAdded inDescription19Assigns attributes usable for coloring to spans inside a snippet.16Represents the credentials of a peer connected to a Unix domain socket.
-
Annotation InterfaceAdded inDescription14Indicates that an annotated field or method is part of the serialization mechanism defined by the Java Object Serialization Specification.
-
FieldAdded inDescription19Constant for the "Arabic Extended-B" Unicode character block.12Constant for the "Chess Symbols" Unicode character block.15Constant for the "Chorasmian" Unicode character block.15Constant for the "CJK Unified Ideographs Extension G" Unicode character block.19Constant for the "Cypro-Minoan" Unicode character block.15Constant for the "Dives Akuru" Unicode character block.12Constant for the "Dogra" Unicode character block.13Constant for the "Egyptian Hieroglyph Format Controls" Unicode character block.13Constant for the "Elymaic" Unicode character block.19Constant for the "Ethiopic Extended-B" Unicode character block.12Constant for the "Georgian Extended" Unicode character block.12Constant for the "Gunjala Gondi" Unicode character block.12Constant for the "Hanifi Rohingya" Unicode character block.12Constant for the "Indic Siyaq Numbers" Unicode character block.19Constant for the "Kana Extended-B" Unicode character block.15Constant for the "Khitan Small Script" Unicode character block.19Constant for the "Latin Extended-F" Unicode character block.19Constant for the "Latin Extended-G" Unicode character block.15Constant for the "Lisu Supplement" Unicode character block.12Constant for the "Makasar" Unicode character block.12Constant for the "Mayan Numerals" Unicode character block.12Constant for the "Medefaidrin" Unicode character block.13Constant for the "Nandinagari" Unicode character block.13Constant for the "Nyiakeng Puachue Hmong" Unicode character block.12Constant for the "Old Sogdian" Unicode character block.19Constant for the "Old Uyghur" Unicode character block.13Constant for the "Ottoman Siyaq Numbers" Unicode character block.13Constant for the "Small Kana Extension" Unicode character block.12Constant for the "Sogdian" Unicode character block.13Constant for the "Symbols and Pictographs Extended-A" Unicode character block.15Constant for the "Symbols for Legacy Computing" Unicode character block.13Constant for the "Tamil Supplement" Unicode character block.19Constant for the "Tangsa" Unicode character block.15Constant for the "Tangut Supplement" Unicode character block.19Constant for the "Toto" Unicode character block.19Constant for the "Unified Canadian Aboriginal Syllabics Extended-A" Unicode character block.19Constant for the "Vithkuqi" Unicode character block.13Constant for the "Wancho" Unicode character block.15Constant for the "Yezidi" Unicode character block.19Constant for the "Znamenny Musical Notation" Unicode character block.15
MethodHandleDesc
representingConstantBootstraps.explicitCast(Lookup, String, Class, Object)
ConstantBootstraps.explicitCast}15MethodHandleDesc
representingConstantBootstraps.getStaticFinal
15Nominal descriptor representing the constant Boolean.FALSE15Nominal descriptor representing the constant Boolean.TRUE19The number of bits in the significand of adouble
value.19The number of bits in the significand of afloat
value.16A single-bit mask representingoriginal
access which may contribute to the result oflookupModes
.19Thedouble
value that is closer than any other to tau (τ), the ratio of the circumference of a circle to its radius.19Thedouble
value that is closer than any other to tau (τ), the ratio of the circumference of a circle to its radius.19The value 2, with a scale of 0.16TheMGF1ParameterSpec
uses a "SHA3-224" message digest.16TheMGF1ParameterSpec
uses a "SHA3-256" message digest.16TheMGF1ParameterSpec
uses a "SHA3-384" message digest.16TheMGF1ParameterSpec
uses a "SHA3-512" message digest.15The Ed25519 parameters15The Ed448 parameters12Constant identifying the prefix field.12Constant identifying the suffix field.13The singleton instance for the 'Reiwa' era (2019-05-01 - ) which has the value 3.13Enterprise name (alias)13The Canonical XML 1.1 (without comments) canonicalization method algorithm URI.13The Canonical XML 1.1 with comments canonicalization method algorithm URI.17The RSASSA-PSS signature method algorithm URI.19ProducebitCount(a)
19Producecompress(a,n)
.19Produceexpand(a,n)
.19ProducenumberOfLeadingZeros(a)
19Producereverse(a)
19ProducereverseBytes(a)
19ProducenumberOfTrailingZeros(a)
15Identifies the receive queue that the last incoming packet for the socket was received on.16Unix Domain peer credentials.
-
MethodAdded inDescription19Restricts the events generated by this request to only platform threads.19Restricts the events generated by this request to only platform threads.19Returns
true
if the thread is a virtual thread.com.sun.management.HotSpotDiagnosticMXBean.dumpThreads(String, HotSpotDiagnosticMXBean.ThreadDumpFormat) PREVIEW19Generate a thread dump to the given file in the given format.14Returns the "recent cpu usage" for the operating environment.14Returns the amount of free memory in bytes.14Returns the total amount of memory in bytes.14Returns an approximation of the total amount of memory, in bytes, allocated in heap memory for the current thread.18Returns a pre-processing Filter that inspects and possibly adapts the request state.17Returns a post-processingFilter
with the given description and operation.17Returns a pre-processingFilter
with the given description and operation.18Returns an immutableHeaders
with the given name value pairs as its set of headers.18Returns an immutableHeaders
from the givenheaders
with the same header names and values.18Creates anHttpServer
instance with an initial context.18Creates anHttpsServer
instance with an initial context.18Visits aSnippetTree
node.12Visits aSystemPropertyTree
node.16Returns whether this instance is an inline tag.12For case with kind CaseTree.CaseKind.RULE, returns the statement or expression after the arrow.12Returns the kind of this case.12Returns the labels for this case.17Returns the labels for this case.17Returns the subclasses permitted by this type declaration.17Returns the module tree associated with this compilation unit, ornull
if there is no module declaration.16Returns the tested pattern, or null if this instanceof does not use a pattern.16Visits aBindingPatternTree
node.19Visits aConstantCaseLabelTree
node.19Visits aDeconstructionPatternTree
node.17Visits aDefaultCaseLabelTree
node.17Visits aParenthesizedPatternTree
node.19Visits aPatternCaseLabelTree
node.12Visits aSwitchExpressionTree
node.13Visits aYieldTree
node.16Creates a newReturnTree
object, to represent a@return
tag or{@return}
tag.18Creates a newSnippetTree
object, to represent a{@snippet }
tag.12Creates a newSystemPropertyTree
object, to represent a{@systemProperty }
tag.15Returns the language model type referred to by the leaf node of the givenDocTreePath
, ornull
if unknown.18Visits aSnippetTree
node.12Visits aSystemPropertyTree
node.13Sets the specifiedParameterNameProvider
.18Visits aSnippetTree
node.12Visits aSystemPropertyTree
node.14Visits aBindingPatternTree
node.19Visits aConstantCaseLabelTree
node.com.sun.source.util.SimpleTreeVisitor.visitDeconstructionPattern(DeconstructionPatternTree, P) PREVIEW19Visits aDeconstructionPatternTree
node.17Visits aDefaultCaseLabelTree
node.17Visits aParenthesizedPatternTree
node.19Visits aPatternCaseLabelTree
node.14Visits aBindingPatternTree
node.19Visits aConstantCaseLabelTree
node.19Visits aDeconstructionPatternTree
node.17Visits aDefaultCaseLabelTree
node.17Visits aParenthesizedPatternTree
node.19Visits aPatternCaseLabelTree
node.17Returns theCharset
object used for theConsole
.12Skips over and discards exactlyn
bytes of data from this input stream.17Returns a filter that returnsStatus.ALLOWED
if the predicate on the class istrue
.17Returns the JVM-wide deserialization filter factory.1717Returns a filter that merges the status of a filter and another filter.17Returns a filter that returnsStatus.REJECTED
if the predicate on the class istrue
.17Returns a filter that invokes a given filter and mapsUNDECIDED
toREJECTED
for classes, with some special cases, and otherwise returns the status.18Returns the charset used in thisPrintStream
instance.14Writes all bytes from the specified byte array to this stream.14Writes all bytes from the specified byte array to this stream.15Returns anOptional
containing the nominal descriptor for this instance.15Returns anOptional
containing the nominal descriptor for this instance.15Returns anOptional
containing the nominal descriptor for this instance.15Returnstrue
if this character sequence is empty.12Returns aClass
for an array type whose component type is described by this Class.12Returns the component type of thisClass
, if it describes an array type, ornull
otherwise.12Returns a nominal descriptor for this instance, if one can be constructed, or an emptyOptional
if one cannot be.12Returns the descriptor string of the entity (class, interface, array class, primitive type, orvoid
) represented by thisClass
object.17Returns an array containingClass
objects representing the direct subinterfaces or subclasses permitted to extend or implement this class or interface if it is sealed.16Returns an array ofRecordComponent
objects representing all the record components of this record class, ornull
if this class is not a record class.15Returnstrue
if and only if the underlying class is a hidden class.16Returnstrue
if and only if this class is a record class.17Returnstrue
if and only if thisClass
object represents a sealed class or interface.12Returns anOptional
containing the nominal descriptor for this instance, which is the instance itself.12Resolves this instance as aConstantDesc
, the result of which is the instance itself.12Returns an enum descriptorEnumDesc
for this instance, if one can be constructed, or an emptyOptional
if one cannot be.12Returns a nominal descriptor for the specifiedenum
class and name12Returns anOptional
containing the nominal descriptor for this instance, which is the instance itself.12Resolves this instance as aConstantDesc
, the result of which is the instance itself.19Returns the value obtained by compressing the bits of the specifiedint
value,i
, in accordance with the specified bit mask.12Returns anOptional
containing the nominal descriptor for this instance, which is the instance itself.19Returns the value obtained by expanding the bits of the specifiedint
value,i
, in accordance with the specified bit mask.12Resolves this instance as aConstantDesc
, the result of which is the instance itself.15Applies a conversion from a source type to a destination type.12Return a nominal descriptor for this instance, if one can be constructed, or an emptyOptional
if one cannot be.16Returns the class data associated with the lookup class of the givencaller
lookup object, ornull
.16Returns the element at the specified index in the class data, if the class data associated with the lookup class of the givencaller
lookup object is aList
.19Adapts a target var handle by pre-processing a sub-sequence of its coordinate values with a filter (a method handle).19Returns a var handle which will discard some dummy coordinates before delegating to the target var handle.16Drop the return value of the target handle (if any).19Adapts a target var handle by pre-processing incoming coordinate values using unary filter functions.19Adapts a target var handle by pre-processing incoming and outgoing values using a pair of filter functions.19Provides a target var handle with one or more bound coordinates in advance of the var handle's invocation.15Creates a hidden class or interface frombytes
, returning aLookup
on the newly created class or interface.16Creates a hidden class or interface frombytes
with associated class data, returning aLookup
on the newly created class or interface.15Ensures thattargetClass
has been initialized.14Returnstrue
if this lookup has full privilege access, i.e.14Reports a lookup class in another module that this lookup object was previously teleported from, ornull
.19Creates a var handle object, which can be used to dereference a memory segmentPREVIEW by viewing its contents as a sequence of the provided value layout.19Provides a var handle which adapts the coordinate values of the target var handle, by re-arranging them so that the new coordinates match the provided ones.12Returns a nominal descriptor for this instance, if one can be constructed, or an emptyOptional
if one cannot be.12Returns a descriptor string for this method type.12Return a nominal descriptor for this instance, if one can be constructed, or an emptyOptional
if one cannot be.16Returnstrue
if this VarHandle has invoke-exact behavior.16Returns 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.16Returns 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.19Returns the value obtained by compressing the bits of the specifiedlong
value,i
, in accordance with the specified bit mask.12Returns anOptional
containing the nominal descriptor for this instance, which is the instance itself.19Returns the value obtained by expanding the bits of the specifiedlong
value,i
, in accordance with the specified bit mask.12Resolves this instance as aConstantDesc
, the result of which is the instance itself.15Returns the mathematical absolute value of anint
value if it is exactly representable as anint
, throwingArithmeticException
if the result overflows the positiveint
range.15Returns the mathematical absolute value of anlong
value if it is exactly representable as anlong
, throwingArithmeticException
if the result overflows the positivelong
range.18Returns the smallest (closest to negative infinity)int
value that is greater than or equal to the algebraic quotient.18Returns the smallest (closest to negative infinity)long
value that is greater than or equal to the algebraic quotient.18Returns the smallest (closest to negative infinity)long
value that is greater than or equal to the algebraic quotient.18Returns the smallest (closest to negative infinity)int
value that is greater than or equal to the algebraic quotient.18Returns the smallest (closest to negative infinity)long
value that is greater than or equal to the algebraic quotient.18Returns the ceiling modulus of theint
arguments.18Returns the ceiling modulus of thelong
andint
arguments.18Returns the ceiling modulus of thelong
arguments.18Returns the quotient of the arguments, throwing an exception if the result overflows anint
.18Returns the quotient of the arguments, throwing an exception if the result overflows along
.18Returns the largest (closest to positive infinity)int
value that is less than or equal to the algebraic quotient.18Returns the largest (closest to positive infinity)long
value that is less than or equal to the algebraic quotient.18Returns as along
the most significant 64 bits of the unsigned 128-bit product of two unsigned 64-bit factors.17Returns aBufferedReader
connected to the standard error of the process.17Returns aBufferedReader
connected to the standard error of this process using a Charset.17Returns aBufferedReader
connected to the standard output of the process.17Returns aBufferedReader
connected to the standard output of this process using a Charset.17Returns aBufferedWriter
connected to the normal input of the process using the native encoding.17Returns aBufferedWriter
connected to the normal input of the process using a Charset.16Tests if the referent of this reference object isobj
.16Invokes the specified default method on the givenproxy
instance with the given parameters.15Returns anOptional
containing the nominal descriptor for this instance.15Returns the mathematical absolute value of anint
value if it is exactly representable as anint
, throwingArithmeticException
if the result overflows the positiveint
range.15Returns the mathematical absolute value of anlong
value if it is exactly representable as anlong
, throwingArithmeticException
if the result overflows the positivelong
range.18Returns the smallest (closest to negative infinity)int
value that is greater than or equal to the algebraic quotient.18Returns the smallest (closest to negative infinity)long
value that is greater than or equal to the algebraic quotient.18Returns the smallest (closest to negative infinity)long
value that is greater than or equal to the algebraic quotient.18Returns the smallest (closest to negative infinity)int
value that is greater than or equal to the algebraic quotient.18Returns the smallest (closest to negative infinity)long
value that is greater than or equal to the algebraic quotient.18Returns the ceiling modulus of theint
arguments.18Returns the ceiling modulus of thelong
andint
arguments.18Returns the ceiling modulus of thelong
arguments.14Returns the argument decremented by one, throwing an exception if the result overflows anint
.14Returns the argument decremented by one, throwing an exception if the result overflows along
.18Returns the quotient of the arguments, throwing an exception if the result overflows anint
.18Returns the quotient of the arguments, throwing an exception if the result overflows along
.18Returns the largest (closest to positive infinity)int
value that is less than or equal to the algebraic quotient.18Returns the largest (closest to positive infinity)long
value that is less than or equal to the algebraic quotient.14Returns the argument incremented by one, throwing an exception if the result overflows anint
.14Returns the argument incremented by one, throwing an exception if the result overflows along
.14Returns the negation of the argument, throwing an exception if the result overflows anint
.14Returns the negation of the argument, throwing an exception if the result overflows along
.18Returns as along
the most significant 64 bits of the unsigned 128-bit product of two unsigned 64-bit factors.12Returns anOptional
containing the nominal descriptor for this instance, which is the instance itself.15Formats using this string as the format string, and the supplied arguments.12Adjusts the indentation of each line of this string based on the value ofn
, and normalizes line termination characters.12Resolves this instance as aConstantDesc
, the result of which is the instance itself.15Returns a string whose value is this string, with incidental white space removed from the beginning and end of every line.12This method allows the application of a function tothis
string.15Returns a string whose value is this string, with escape sequences translated as if in a string literal.19Returnstrue
if this thread is a virtual thread.19Waits for this thread to terminate for up to the given waiting duration.19Returns a builder for creating a platformThread
orThreadFactory
that creates platform threads.19Returns a builder for creating a virtualThread
orThreadFactory
that creates virtual threads.19Causes the currently executing thread to sleep (temporarily cease execution) for the specified duration, subject to the precision and accuracy of system timers and schedulers.19Creates a virtual thread to execute a task and schedules it to execute.19Returns the identifier of this Thread.19Returns a BigInteger whose value is(this * val)
.17Joins a multicast group.17Leave a multicast group on a specified local interface.19Binds the socket to this local address when creating connections for sending requests.16Returns aBodyPublisher
that publishes a request body consisting of the concatenation of the request bodies published by a sequence of publishers.18Sets the request method of this builder to HEAD.16Creates aBuilder
whose initial state is copied from an existingHttpRequest
.12Returns anOptional
containing theSSLSession
in use on the original connection that retrieved the network resource.13Creates a new buffer whose content is a shared subsequence of this buffer's content.13Absolute bulk get method.13Absolute bulk get method.13Absolute bulk put method (optional operation).13Absolute bulk put method (optional operation).16Absolute bulk put method (optional operation).13Creates a new byte buffer whose content is a shared subsequence of this buffer's content.19Maps a region of this channel's file into a new mapped memory segment, with the given offset, size and memory session.15Opens a server-socket channel.15Opens a socket channel.15Opens a server-socket channel.15Opens a socket channel.13Absolute bulk get method.13Absolute bulk get method.15Returnstrue
if this character buffer is empty.13Absolute bulk put method (optional operation).13Absolute bulk put method (optional operation).16Absolute bulk put method (optional operation).13Creates a new char buffer whose content is a shared subsequence of this buffer's content.18Returns a charset object for the named charset.13Absolute bulk get method.13Absolute bulk get method.13Absolute bulk put method (optional operation).13Absolute bulk put method (optional operation).16Absolute bulk put method (optional operation).13Creates a new double buffer whose content is a shared subsequence of this buffer's content.12Finds and returns the position of the first mismatched byte in the content of two files, or-1L
if there is no mismatch.13Constructs a newFileSystem
to access the contents of a file as a file system.13Constructs a newFileSystem
to access the contents of a file as a file system.13Constructs a newFileSystem
to access the contents of a file as a file system.13Absolute bulk get method.13Absolute bulk get method.13Absolute bulk put method (optional operation).13Absolute bulk put method (optional operation).16Absolute bulk put method (optional operation).13Creates a new float buffer whose content is a shared subsequence of this buffer's content.13Absolute bulk get method.13Absolute bulk get method.13Absolute bulk put method (optional operation).13Absolute bulk put method (optional operation).16Absolute bulk put method (optional operation).13Creates a new int buffer whose content is a shared subsequence of this buffer's content.13Absolute bulk get method.13Absolute bulk get method.13Absolute bulk put method (optional operation).13Absolute bulk put method (optional operation).16Absolute bulk put method (optional operation).13Creates a new long buffer whose content is a shared subsequence of this buffer's content.13Forces any changes made to a region of this buffer's content to be written to the storage device containing the mapped file.13Absolute bulk get method.13Absolute bulk get method.13Absolute bulk put method (optional operation).13Absolute bulk put method (optional operation).16Absolute bulk put method (optional operation).13Creates a new short buffer whose content is a shared subsequence of this buffer's content.18Retrieves the attributes associated with the given alias.18Retrieves the attributes associated with the given alias.19Returns locale used to create this instance.15Gets the character used for grouping separator for currencies.15Sets the character used for grouping separator for currencies.1212Returns a compact number format for the specifiedlocale
andformatStyle
.12Returns a newNumberFormat
instance which formats a number in its compact form for the specifiedlocale
andformatStyle
.19Checks if this chronology is ISO based.19IsoChronology
is an ISO based chronology, which supports fields inIsoFields
, such asDAY_OF_QUARTER
andQUARTER_OF_YEAR
.19JapaneseChronology
is an ISO based chronology, which supports fields inIsoFields
, such asDAY_OF_QUARTER
andQUARTER_OF_YEAR
.19MinguoChronology
is an ISO based chronology, which supports fields inIsoFields
, such asDAY_OF_QUARTER
andQUARTER_OF_YEAR
.19ThaiBuddhistChronology
is an ISO based chronology, which supports fields inIsoFields
, such asDAY_OF_QUARTER
andQUARTER_OF_YEAR
.18Checks if this duration is positive, excluding zero.19Creates a locale specific formatter derived from the requested template for the ISO chronology.16Appends the day period text to the formatter.19Appends a localized pattern to the formatter using the requested template.19Returns the formatting pattern for the requested template for a locale and chronology.12Returns 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.12Returns 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.12Returns a new CompletionStage that, when this stage completes exceptionally, is composed using the results of the supplied function applied to this stage's exception.12Returns 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.12Returns 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.19Creates an Executor that starts a new Thread for each task.19Creates an Executor that starts a new virtual Thread for each task.19Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.19Unless this is theForkJoinPool.commonPool()
, initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted, and waits until all tasks have completed execution and the executor has terminated.19Submits the given task without guaranteeing that it will eventually execute in the absence of available active threads.19Changes the target parallelism of this pool, controlling the future creation, use, and termination of worker threads.19Returns a newForkJoinTask
that performs thecall
method of the givenCallable
as its action, and returns its result uponForkJoinTask.join()
, translating any checked exceptions encountered intoRuntimeException
.19Tries to join this task, returning true if it completed (possibly exceptionally) before the given timeout and the current thread has not been interrupted.19Tries to join this task, returning true if it completed (possibly exceptionally) before the given timeout.19Returns the exception thrown by the task, without waiting.19Returns the computed result, without waiting.19Returns the computation state.14Sets the object to be returned by invocations ofgetBlocker
for the current thread.19Creates a new, empty HashMap suitable for the expected number of mappings.19Creates a new, empty HashSet suitable for the expected number of elements.19Creates a new, empty, insertion-ordered LinkedHashMap suitable for the expected number of mappings.19Creates a new, empty LinkedHashSet suitable for the expected number of elements.19Obtains a locale from a language code.19Obtains a locale from language and country.19Obtains a locale from language, country and variant.16Get a thread identifier for the thread where message originated16Set an identifier for the thread where the message originated.17Returns a copy of the givenMap.Entry
.16Checks if the sub-range fromfromIndex
(inclusive) tofromIndex + size
(exclusive) is within the bounds of range from0
(inclusive) tolength
(exclusive).16Checks if the sub-range fromfromIndex
(inclusive) totoIndex
(exclusive) is within the bounds of range from0
(inclusive) tolength
(exclusive).16Checks if theindex
is within the bounds of the range from0
(inclusive) tolength
(exclusive).19Returns a string equivalent to the string returned byObject.toString
if that method andhashCode
are not overridden.19Returns an instance ofRandom
that delegates method calls to theRandomGenerator
argument.19Returns a short description of the tool, or an emptyOptional
if no description is available.17Returns a new pseudorandom number generator, split off from this one, that implements theRandomGenerator
andRandomGenerator.SplittableGenerator
interfaces.17Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements theRandomGenerator.SplittableGenerator
interface.17Returns a stream producing the givenstreamSize
number of new pseudorandom number generators, each of which implements theRandomGenerator.SplittableGenerator
interface.17Returns a stream producing the givenstreamSize
number of new pseudorandom number generators, each of which implements theRandomGenerator.SplittableGenerator
interface.17Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements theRandomGenerator.SplittableGenerator
interface.12Returns aCollector
that is a composite of two downstream collectors.16Returns a stream consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.16Returns a stream consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.16Returns a stream consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.16Returns a stream consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.16Returns aDoubleStream
consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.16Returns anIntStream
consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.16Returns aLongStream
consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.16Accumulates the elements of this stream into aList
.19Creates a new, empty WeakHashMap suitable for the expected number of mappings.18Prints an error.18Prints an error at the location of the element.18Prints a note.18Prints a note at the location of the element.18Prints a warning.18Prints a warning at the location of the element.13Returnstrue
if preview features are enabled andfalse
otherwise.1919Returnstrue
if this is a kind of executable: eitherMETHOD
orCONSTRUCTOR
orSTATIC_INIT
orINSTANCE_INIT
.19Returnstrue
if this is a kind of initializer: eitherSTATIC_INIT
orINSTANCE_INIT
.19Returnstrue
if this is a kind of variable: includingENUM_CONSTANT
,FIELD
,PARAMETER
,LOCAL_VARIABLE
,EXCEPTION_PARAMETER
,RESOURCE_VARIABLE
, andBINDING_VARIABLE
.16Visits a record component element.17Returns the permitted classes of this class or interface element in declaration order.16Returns the record components of this class or interface element in declaration order.18Returns the least runtime version that supports this source version; otherwisenull
.18Returns the latest source version that is usable under the runtime version argument.14Visits a record component element.16Returns a list of record components inelements
.16Returns a set of record components inelements
.14Visits aBINDING_VARIABLE
variable element.16Visits aRECORD
type element.14Visits aBINDING_VARIABLE
variable element.18Returns the file object for this element ornull
if there is no such file object.18Returns the outermost type element an element is contained in if such a containing element exists; otherwise returnsnull
.17Returnstrue
if the module element is an automatic module,false
otherwise.16Returns the record component for the given accessor.12Returns anOptional
containing theSSLSession
in use on this connection.19Returns a prioritized array of signature scheme names that can be used over the SSL/TLS/DTLS protocols.19Sets the prioritized array of signature scheme names that can be used over the SSL/TLS/DTLS protocols.18Executes aCallable
withsubject
as the current subject.18Returns the current subject.12Returns an array of files representing the values to show by default in the file chooser shortcuts panel.17Returns an icon for a file, directory, or folder as it would be displayed in a system file browser for the requested size.18Returns a file object for output representing the specified relative name in the specified package in the given location.18Returns a file object for output representing the specified class of the specified kind in the given package-oriented location.13Returns file objects representing the given paths.13Creates a new NamespaceAware instance of theDocumentBuilderFactory
builtin system-default implementation.13Creates a new NamespaceAware instance of aDocumentBuilderFactory
.13Creates a new NamespaceAware instance of aDocumentBuilderFactory
from the class name.13Creates a new NamespaceAware instance of theSAXParserFactory
builtin system-default implementation.13Creates a new NamespaceAware instance of aSAXParserFactory
.13Creates a new NamespaceAware instance of aSAXParserFactory
from the class name.18Returns the value of the specified property.18Sets a property for thisXPathFactory
.19Compresses the lane elements of this vector selecting lanes under the control of a specific mask.19Expands the lane elements of this vector under the control of a specific mask.jdk.incubator.vector.ByteVector.fromMemorySegment(VectorSpecies<Byte>, MemorySegment, long, ByteOrder) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment.jdk.incubator.vector.ByteVector.fromMemorySegment(VectorSpecies<Byte>, MemorySegment, long, ByteOrder, VectorMask<Byte>) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment and using a mask.19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order.jdk.incubator.vector.ByteVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Byte>) PREVIEW19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order and a mask.19Compresses the lane elements of this vector selecting lanes under the control of a specific mask.19Expands the lane elements of this vector under the control of a specific mask.jdk.incubator.vector.DoubleVector.fromMemorySegment(VectorSpecies<Double>, MemorySegment, long, ByteOrder) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment.jdk.incubator.vector.DoubleVector.fromMemorySegment(VectorSpecies<Double>, MemorySegment, long, ByteOrder, VectorMask<Double>) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment and using a mask.19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order.jdk.incubator.vector.DoubleVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Double>) PREVIEW19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order and a mask.19Compresses the lane elements of this vector selecting lanes under the control of a specific mask.19Expands the lane elements of this vector under the control of a specific mask.jdk.incubator.vector.FloatVector.fromMemorySegment(VectorSpecies<Float>, MemorySegment, long, ByteOrder) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment.jdk.incubator.vector.FloatVector.fromMemorySegment(VectorSpecies<Float>, MemorySegment, long, ByteOrder, VectorMask<Float>) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment and using a mask.19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order.jdk.incubator.vector.FloatVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Float>) PREVIEW19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order and a mask.19Compresses the lane elements of this vector selecting lanes under the control of a specific mask.19Expands the lane elements of this vector under the control of a specific mask.jdk.incubator.vector.IntVector.fromMemorySegment(VectorSpecies<Integer>, MemorySegment, long, ByteOrder) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment.jdk.incubator.vector.IntVector.fromMemorySegment(VectorSpecies<Integer>, MemorySegment, long, ByteOrder, VectorMask<Integer>) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment and using a mask.19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order.jdk.incubator.vector.IntVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Integer>) PREVIEW19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order and a mask.19Compresses the lane elements of this vector selecting lanes under the control of a specific mask.19Expands the lane elements of this vector under the control of a specific mask.jdk.incubator.vector.LongVector.fromMemorySegment(VectorSpecies<Long>, MemorySegment, long, ByteOrder) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment.jdk.incubator.vector.LongVector.fromMemorySegment(VectorSpecies<Long>, MemorySegment, long, ByteOrder, VectorMask<Long>) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment and using a mask.19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order.jdk.incubator.vector.LongVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Long>) PREVIEW19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order and a mask.19Compresses the lane elements of this vector selecting lanes under the control of a specific mask.19Expands the lane elements of this vector under the control of a specific mask.jdk.incubator.vector.ShortVector.fromMemorySegment(VectorSpecies<Short>, MemorySegment, long, ByteOrder) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment.jdk.incubator.vector.ShortVector.fromMemorySegment(VectorSpecies<Short>, MemorySegment, long, ByteOrder, VectorMask<Short>) PREVIEW19Loads a vector from a memory segmentPREVIEW starting at an offset into the memory segment and using a mask.19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order.jdk.incubator.vector.ShortVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Short>) PREVIEW19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order and a mask.19Compresses the lane elements of this vector selecting lanes under the control of a specific mask.19Expands the lane elements of this vector under the control of a specific mask.19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order.19Stores this vector into a memory segmentPREVIEW starting at an offset using explicit byte order and a mask.19Compresses set lanes from this mask.19Removes lanes numberedN
from this mask where the adjusted indexN+offset
, is not in the range[0..limit-1]
.19Loads a vector of this species from a memory segmentPREVIEW starting at an offset into the memory segment.19Returns a mask of this species where only the lanes at index N such that the adjusted indexN+offset
is in the range[0..limit-1]
are set.19Loop control function which returns the largest multiple ofVLENGTH
that is less than or equal to the givenlength
value.17Returns a writer that can be used to write diagnostic output, ornull
if no such writer is available.17Returns a writer that can be used to write non-diagnostic output, ornull
if no such writer is available.18Prints a diagnostic message related to a position within a range of characters in a tree node.17Prints a diagnostic message related to a position within a range of characters in a file.17Returns the locale for this doclet.17Returns the reporter for this doclet.19Returnstrue
if this is a virtual Thread,false
otherwise.19Filter out events and write them to a new file.17Writes recording data to a file.19Returns a collection ofHighlight
s which can be used to color the given snippet.17Set to true to specify the inputs and outputs are connected to an interactive terminal that can interpret the ANSI escape codes.17Writes recording data to a file.14Receives notification of the XML declaration.
-
ConstructorAdded inDescription18Creates a mutable
Headers
from the givenheaders
with the same header names and values.19Report an InvalidClassException for the reason and cause specified.19Report an InvalidClassException for the reason and cause specified.19Constructs anInvalidObjectException
with the given reason and cause.19Create an ObjectStreamException with the specified message and cause.19Create an ObjectStreamException with the specified cause.16Constructs a newIndexOutOfBoundsException
class with an argument indicating the illegal index.12Creates a server socket with a user-specifiedSocketImpl
.19Constructs a newSocketException
with the specified detail message and cause.19Constructs a newSocketException
with the specified cause.14Creates aCompactNumberFormat
using the given decimal pattern, decimal format symbols, compact patterns, and plural rules.19Creates a ForkJoinWorkerThread operating in the given thread group and pool, and with the given policy for preserving ThreadLocals.15Constructs aNoSuchElementException
with the specified detail message and cause.15Constructs aNoSuchElementException
with the specified cause.19Creates aSSLHandshakeException
with the specified detail message and cause.19Creates aSSLKeyException
with the specified detail message and cause.19Creates aSSLPeerUnverifiedException
with the specified detail message and cause.19Creates aSSLProtocolException
with the specified detail message and cause.
-
Enum ConstantAdded inDescription18Used for instances of
SnippetTree
representing an@snippet
tag.12Used for instances ofSystemPropertyTree
representing an@systemProperty
tag.16Used for instances ofBindingPatternTree
.19Used for instances ofConstantCaseLabelTree
PREVIEW.19Used for instances ofDeconstructionPatternTree
PREVIEW.17Used for instances ofDefaultCaseLabelTree
PREVIEW.17Used for instances ofParenthesizedPatternTree
PREVIEW.19Used for instances ofPatternCaseLabelTree
PREVIEW.16Used for instances ofClassTree
representing records.12Used for instances ofSwitchExpressionTree
.13Used for instances ofYieldTree
.16Record component15Unicode script "Chorasmian".19Unicode script "Cypro Minoan".15Unicode script "Dives Akuru".12Unicode script "Dogra".13Unicode script "Elymaic".12Unicode script "Gunjala Gondi".12Unicode script "Hanifi Rohingya".15Unicode script "Khitan Small Script".12Unicode script "Makasar".12Unicode script "Medefaidrin".13Unicode script "Nandinagari".13Unicode script "Nyiakeng Puachue Hmong".12Unicode script "Old Sogdian".19Unicode script "Old Uyghur".12Unicode script "Sogdian".19Unicode script "Tangsa".19Unicode script "Toto".19Unicode script "Vithkuqi".13Unicode script "Wancho".15Unicode script "Yezidi".16Unix domain (Local) interprocess communication.16A binding variable in a pattern.16A record class.16A record component of arecord
.17The modifiernon-sealed
17The modifiersealed
12The version recognized by the Java Platform, Standard Edition 12.13The version recognized by the Java Platform, Standard Edition 13.14The version recognized by the Java Platform, Standard Edition 14.15The version recognized by the Java Platform, Standard Edition 15.16The version recognized by the Java Platform, Standard Edition 16.17The version recognized by the Java Platform, Standard Edition 17.18The version recognized by the Java Platform, Standard Edition 18.19The version recognized by the Java Platform, Standard Edition 19.14A record declaration.