List of members added in Java 9

In order to get a bird's-eye view of what was added in Java 9, the members (fields, methods, etc.) that are Since 9 on Javadoc are extracted and listed.

Click here for the list of types added in Java 9

java.base java.io InputStream

Reads all remaining bytes from the input stream.

Reads the requested number of bytes from the input stream into the given byte array.

Reads all bytes from this input stream and writes the bytes to the given output stream in the order that they are read.

ObjectInputStream

Returns the serialization filter for this stream.

Set the serialization filter for the stream.

ObjectStreamConstants

Enable setting the process-wide serial filter.

java.lang Byte

Compares two byte values numerically treating the values as unsigned.

Character.UnicodeBlock

Constant for the "Ahom" Unicode character block.

Constant for the "Anatolian Hieroglyphs" Unicode character block.

Constant for the "Bassa Vah" Unicode character block.

Constant for the "Caucasian Albanian" Unicode character block.

Constant for the "Cherokee Supplement" Unicode character block.

Constant for the "CJK Unified Ideographs Extension E" Unicode character block.

Constant for the "Combining Diacritical Marks Extended" Unicode character block.

Constant for the "Coptic Epact Numbers" Unicode character block.

Constant for the "Duployan" Unicode character block.

Constant for the "Early Dynastic Cuneiform" Unicode character block.

Constant for the "Elbasan" Unicode character block.

Constant for the "Geometric Shapes Extended" Unicode character block.

Constant for the "Grantha" Unicode character block.

Constant for the "Hatran" Unicode character block.

Constant for the "Khojki" Unicode character block.

Constant for the "Khudawadi" Unicode character block.

Constant for the "Latin Extended-E" Unicode character block.

Constant for the "Linear A" Unicode character block.

Constant for the "Mahajani" Unicode character block.

Constant for the "Manichaean" Unicode character block.

Constant for the "Mende Kikakui" Unicode character block.

Constant for the "Modi" Unicode character block.

Constant for the "Mro" Unicode character block.

Constant for the "Multani" Unicode character block.

Constant for the "Myanmar Extended-B" Unicode character block.

Constant for the "Nabataean" Unicode character block.

Constant for the "Old Hungarian" Unicode character block.

Constant for the "Old North Arabian" Unicode character block.

Constant for the "Old Permic" Unicode character block.

Constant for the "Ornamental Dingbats" Unicode character block.

Constant for the "Pahawh Hmong" Unicode character block.

Constant for the "Palmyrene" Unicode character block.

Constant for the "Pau Cin Hau" Unicode character block.

Constant for the "Psalter Pahlavi" Unicode character block.

Constant for the "Shorthand Format Controls" Unicode character block.

Constant for the "Siddham" Unicode character block.

Constant for the "Sinhala Archaic Numbers" Unicode character block.

Constant for the "Supplemental Arrows-C" Unicode character block.

Constant for the "Supplemental Symbols and Pictographs" Unicode character block.

Constant for the "Sutton SignWriting" Unicode character block.

Constant for the "Tirhuta" Unicode character block.

Constant for the "Warang Citi" Unicode character block.

Character.UnicodeScript

Unicode script "Ahom".

Unicode script "Anatolian Hieroglyphs".

Unicode script "Bassa Vah".

Unicode script "Caucasian Albanian".

Unicode script "Duployan".

Unicode script "Elbasan".

Unicode script "Grantha".

Unicode script "Hatran".

Unicode script "Khojki".

Unicode script "Khudawadi".

Unicode script "Linear A".

Unicode script "Mahajani".

Unicode script "Manichaean".

Unicode script "Mende Kikakui".

Unicode script "Modi".

Unicode script "Mro".

Unicode script "Multani".

Unicode script "Nabataean".

Unicode script "Old Hungarian".

Unicode script "Old North Arabian".

Unicode script "Old Permic".

Unicode script "Pahawh Hmong".

Unicode script "Palmyrene".

Unicode script "Pau Cin Hau".

Unicode script "Psalter Pahlavi".

Unicode script "Siddham".

Unicode script "SignWriting".

Unicode script "Tirhuta".

Unicode script "Warang Citi".

Character

Weak bidirectional character type "FSI" in the Unicode specification.

Weak bidirectional character type "LRI" in the Unicode specification.

Weak bidirectional character type "PDI" in the Unicode specification.

Weak bidirectional character type "RLI" in the Unicode specification.

Returns the code point value of the Unicode character specified by the given Unicode character name.

Class

Returns the Class with the given binary name in the given module.

Returns the module that this class or interface is a member of.

Returns the fully qualified package name.

ClassLoader

Creates a new class loader of the specified name and using the specified parent class loader for delegation.

Finds the class with the given binary name in a module defined to this class loader.

Returns a URL to a resource in a module defined to this class loader.

Returns a Package of the given name that has been defined by this class loader.

Returns all of the Packages defined by this class loader.

Returns the name of this class loader or null if this class loader is not named.

Returns the platform class loader for delegation.

Returns the unnamed Module for this class loader.

Returns true if this class loader is registered as parallel capable, otherwise false.

Returns a stream whose elements are the URLs of all the resources with the given name.

Type Deprecated

Indicates whether the annotated element is subject to removal in a future version.

Returns the version in which the annotated element became deprecated.

IndexOutOfBoundsException

Constructs a new IndexOutOfBoundsException class with an argument indicating the illegal index.

Integer

Parses the CharSequence argument as a signed int in the specified radix, beginning at the specified beginIndex and extending to endIndex - 1.

Parses the CharSequence argument as an unsigned int in the specified radix, beginning at the specified beginIndex and extending to endIndex - 1.

Long

Parses the CharSequence argument as a signed long in the specified radix, beginning at the specified beginIndex and extending to endIndex - 1.

Parses the CharSequence argument as an unsigned long in the specified radix, beginning at the specified beginIndex and extending to endIndex - 1.

Math

Returns the largest (closest to positive infinity) long value that is less than or equal to the algebraic quotient.

Returns the floor modulus of the long and int arguments.

Returns the fused multiply add of the three arguments; that is, returns the exact product of the first two arguments summed with the third argument and then rounded once to the nearest double.

Returns the fused multiply add of the three arguments; that is, returns the exact product of the first two arguments summed with the third argument and then rounded once to the nearest float.

Returns the product of the arguments, throwing an exception if the result overflows a long.

Returns the exact mathematical product of the arguments.

Returns as a long the most significant 64 bits of the 128-bit product of two 64-bit factors.

Process

Returns a snapshot of the direct children of the process.

Returns a snapshot of the descendants of the process.

Returns a snapshot of information about the process.

Returns a CompletableFuture for the termination of the Process.

Returns the native process ID of the process.

Returns true if the implementation of destroy() is to normally terminate the process, Returns false if the implementation of destroy forcibly and immediately terminates the process.

Returns a ProcessHandle for the Process.

ProcessBuilder.Redirect

Indicates that subprocess output will be discarded.

ProcessBuilder

Starts a Process for each ProcessBuilder, creating a pipeline of processes linked by their standard output and standard input streams.

Runtime

Returns the version of the Java Runtime Environment as a Runtime.Version.

Short

Compares two short values numerically treating the values as unsigned.

StackTraceElement

Creates a stack trace element representing the specified execution point.

Returns the name of the class loader of the class containing the execution point represented by this stack trace element.

Returns the module name of the module containing the execution point represented by this stack trace element.

Returns the module version of the module containing the execution point represented by this stack trace element.

StrictMath

Returns the largest (closest to positive infinity) long value that is less than or equal to the algebraic quotient.

Returns the floor modulus of the long and int arguments.

Returns the fused multiply add of the three arguments; that is, returns the exact product of the first two arguments summed with the third argument and then rounded once to the nearest double.

Returns the fused multiply add of the three arguments; that is, returns the exact product of the first two arguments summed with the third argument and then rounded once to the nearest float.

Returns the product of the arguments, throwing an exception if the result overflows a long.

Returns the exact mathematical product of the arguments.

Returns as a long the most significant 64 bits of the 128-bit product of two 64-bit factors.

StringBuffer

Returns a stream of int zero-extending the char values from this sequence.

Returns a stream of code point values from this sequence.

StringBuilder

Returns a stream of int zero-extending the char values from this sequence.

Returns a stream of code point values from this sequence.

System

Returns an instance of Logger for the caller's use.

Returns a localizable instance of Logger for the caller's use.

Thread

Allocates a new Thread object so that it has target as its run object, has the specified name as its name, belongs to the thread group referred to by group, has the specified stackSize, and inherits initial values for inheritable thread-local variables if inheritThreadLocals is true.

Indicates that the caller is momentarily unable to progress, until the occurrence of one or more actions on the part of other activities.

java.lang.annotation ElementType

Module declaration.

java.lang.invoke MethodHandle

Makes an array-collecting method handle, which accepts a given number of positional arguments starting at a given position, and collects them into an array argument.

Makes an array-spreading method handle, which accepts an array argument at a given position and spreads its elements as positional arguments in place of the array.

Adapts this method handle to be variable arity if the boolean flag is true, else fixed arity.

MethodHandles.Lookup

A single-bit mask representing module access (default access), which may contribute to the result of lookupModes.

A single-bit mask representing unconditional access which may contribute to the result of lookupModes.

Determines if a class can be accessed from the lookup context defined by this Lookup object.

Defines a class to the same class loader and in the same runtime package and protection domain as this lookup's lookup class.

Creates a lookup on the same lookup class which this lookup object finds members, but with a lookup mode that has lost the given lookup mode.

Looks up a class by name from the lookup context defined by this Lookup object.

Produces a VarHandle giving access to a static field name of type type declared in a class of type decl.

Produces a VarHandle giving access to a non-static field name of type type declared in a class of type recv.

Returns true if this lookup has PRIVATE access.

Produces a VarHandle giving access to a reflected field f of type T declared in a class of type R.

MethodHandles

Produces a method handle constructing arrays of a desired type.

Produces a VarHandle giving access to elements of an array of type arrayClass.

Produces a method handle returning the length of an array.

Produces a VarHandle giving access to elements of a byte[] array viewed as if it were a different primitive array type, such as int[] or long[].

Produces a VarHandle giving access to elements of a ByteBuffer viewed as if it were an array of elements of a different primitive component type to that of byte, such as int[] or long[].

Constructs a loop that runs a given number of iterations.

Constructs a loop that counts over a range of numbers.

Constructs a do-while loop from an initializer, a body, and a predicate.

Adapts a target method handle to match the given parameter type list.

Produces a method handle of the requested type which ignores any arguments, does nothing, and returns a suitable default depending on the return type.

Adapts a target method handle by pre-processing some of its arguments, starting at a given position, and then calling the target with the result of the pre-processing, inserted into the original sequence of arguments just before the folded arguments.

Constructs a loop that ranges over the values produced by an Iterator.

Constructs a method handle representing a loop with several loop variables that are updated and checked upon each iteration.

Returns a lookup object with full capabilities to emulate all supported bytecode behaviors, including private access, on a target class.

Makes a method handle that adapts a target method handle by wrapping it in a try-finally block.

Produces a special invoker method handle which can be used to invoke a signature-polymorphic access mode method on any VarHandle whose associated access mode type is compatible with the given type.

Produces a special invoker method handle which can be used to invoke a signature-polymorphic access mode method on any VarHandle whose associated access mode type is compatible with the given type.

Constructs a while loop from an initializer, a body, and a predicate.

Produces a constant method handle of the requested return type which returns the default value for that type every time it is invoked.

java.lang.ref Reference

Ensures that the object referenced by the given reference remains strongly reachable, regardless of any prior actions of the program that might otherwise cause the object to become unreachable; thus, the referenced object is not reclaimable by garbage collection at least until after the invocation of this method.

java.lang.reflect AccessibleObject

Test if the caller can access this reflected object.

Set the accessible flag for this reflected object to true if possible.

AnnotatedArrayType

Returns the potentially annotated type that this type is a member of, if this type represents a nested type.

AnnotatedParameterizedType

Returns the potentially annotated type that this type is a member of, if this type represents a nested type.

AnnotatedType

Returns the potentially annotated type that this type is a member of, if this type represents a nested type.

AnnotatedTypeVariable

Returns the potentially annotated type that this type is a member of, if this type represents a nested type.

AnnotatedWildcardType

Returns the potentially annotated type that this type is a member of, if this type represents a nested type.

java.math BigDecimal

Returns an approximation to the square root of this with rounding according to the context settings.

BigInteger

Translates a byte sub-array containing the two's-complement binary representation of a BigInteger into a BigInteger.

Translates the sign-magnitude representation of a BigInteger into a BigInteger.

The BigInteger constant two.

Returns the integer square root of this BigInteger.

Returns an array of two BigIntegers containing the integer square root s of this and its remainder this - s*s, respectively.

java.net Authenticator

Gets the default authenticator.

Ask the given authenticator for a password.

Ask this authenticator for a password.

DatagramSocket

Returns the value of a socket option.

Sets the value of a socket option.

Returns a set of the socket options supported by this socket.

DatagramSocketImpl

Called to get a socket option.

Called to set a socket option.

Returns a set of SocketOptions supported by this impl and by this impl's socket (DatagramSocket or MulticastSocket)

HttpURLConnection

Supplies an Authenticator to be used when authentication is requested through the HTTP protocol for this HttpURLConnection.

NetworkInterface

Get a Stream of all or a subset of the InetAddresses bound to this network interface.

Returns a Stream of all the interfaces on this machine.

Get a Stream of all subinterfaces (also known as virtual interfaces) attached to this network interface.

ProxySelector

Returns a ProxySelector which uses the given proxy address for all HTTP and HTTPS requests.

ServerSocket

Returns the value of a socket option.

Sets the value of a socket option.

Returns a set of the socket options supported by this server socket.

Socket

Returns the value of a socket option.

Sets the value of a socket option.

Returns a set of the socket options supported by this socket.

SocketImpl

Called to get a socket option.

Called to set a socket option.

Returns a set of SocketOptions supported by this impl and by this impl's socket (Socket or ServerSocket)

SocketOptions

Sets SO_REUSEPORT for a socket.

StandardSocketOptions

Re-use port.

URLClassLoader

Constructs a new named URLClassLoader for the specified URLs.

Constructs a new named URLClassLoader for the specified URLs, parent class loader, and URLStreamHandlerFactory.

URLConnection

Returns the default value of the useCaches flag for the given protocol.

Sets the default value of the useCaches field for the named protocol to the given value.

java.nio Buffer

Creates a new buffer that shares this buffer's content.

Creates a new buffer whose content is a shared subsequence of this buffer's content.

ByteBuffer

Creates a new byte buffer whose content is a shared and aligned subsequence of this buffer's content.

Returns the memory address, pointing to the byte at the given index, modulus the given unit size.

java.security AuthProvider

Constructs a provider with the specified name, version string, and information.

KeyStore.Builder

Returns a new Builder object.

KeyStore

Returns a loaded keystore object of the appropriate keystore type.

Returns a loaded keystore object of the appropriate keystore type.

KeyStoreSpi

Probes the specified input stream to determine whether it contains a keystore that is supported by this implementation, or not.

PermissionCollection

Returns a stream of all the Permission objects in the collection.

ProtectionDomain

Returns true if this domain contains only static permissions and does not check the current Policy at the time of permission checking.

Provider

Constructs a provider with the specified name, version string, and information.

Apply the supplied configuration argument to this provider instance and return the configured provider.

Returns the version string for this provider.

Check if this provider instance has been configured.

SecureClassLoader

Creates a new SecureClassLoader of the specified name and using the specified parent class loader for delegation.

SecureRandom

Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm and supports the specified SecureRandomParameters request.

Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm and supports the specified SecureRandomParameters request.

Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm and supports the specified SecureRandomParameters request.

Returns the effective SecureRandomParameters for this SecureRandom instance.

Generates a user-specified number of random bytes with additional parameters.

Reseeds this SecureRandom with entropy input read from its entropy source.

Reseeds this SecureRandom with entropy input read from its entropy source with additional parameters.

SecureRandomSpi

Constructor with a parameter.

Returns the effective SecureRandomParameters for this SecureRandom instance.

Generates a user-specified number of random bytes with additional parameters.

Reseeds this random object with entropy input read from its entropy source with additional parameters.

java.security.spec EncodedKeySpec

Creates a new EncodedKeySpec with the given encoded key.

Returns the name of the algorithm of the encoded key.

PKCS8EncodedKeySpec

Creates a new PKCS8EncodedKeySpec with the given encoded key and algorithm.

X509EncodedKeySpec

Creates a new X509EncodedKeySpec with the given encoded key.

java.time Clock

Obtains a clock that returns the current instant ticking in whole milliseconds using the best available system clock.

Duration

Returns number of whole times a specified Duration occurs within this Duration.

Extracts the number of days in the duration.

Extracts the number of hours part in the duration.

Extracts the number of milliseconds part of the duration.

Extracts the number of minutes part in the duration.

Get the nanoseconds part within seconds of the duration.

Gets the number of seconds in this duration.

Extracts the number of seconds part in the duration.

Returns a copy of this Duration truncated to the specified unit.

LocalDate

Returns a sequential ordered stream of dates.

Returns a sequential ordered stream of dates by given incremental step.

Obtains an instance of LocalDate from an Instant and zone ID.

Converts this LocalDate to the number of seconds since the epoch of 1970-01-01T00:00:00Z.

LocalTime

Obtains an instance of LocalTime from an Instant and zone ID.

Converts this LocalTime to the number of seconds since the epoch of 1970-01-01T00:00:00Z.

OffsetTime

Converts this OffsetTime to the number of seconds since the epoch of 1970-01-01T00:00:00Z.

java.time.chrono Chronology

Gets the number of seconds from the epoch of 1970-01-01T00:00:00Z.

Gets the number of seconds from the epoch of 1970-01-01T00:00:00Z.

IsoChronology

Gets the number of seconds from the epoch of 1970-01-01T00:00:00Z.

java.time.format DateTimeFormatterBuilder

Appends the generic time-zone name, such as 'Pacific Time', to the formatter.

Appends the generic time-zone name, such as 'Pacific Time', to the formatter.

java.util Arrays

Compares two Object arrays, within comparable elements, lexicographically.

Compares two Object arrays lexicographically using a specified comparator.

Compares two Object arrays lexicographically over the specified ranges.

Compares two Object arrays lexicographically over the specified ranges.

Compares two boolean arrays lexicographically.

Compares two boolean arrays lexicographically over the specified ranges.

Compares two byte arrays lexicographically.

Compares two byte arrays lexicographically over the specified ranges.

Compares two char arrays lexicographically.

Compares two char arrays lexicographically over the specified ranges.

Compares two double arrays lexicographically.

Compares two double arrays lexicographically over the specified ranges.

Compares two float arrays lexicographically.

Compares two float arrays lexicographically over the specified ranges.

Compares two int arrays lexicographically over the specified ranges.

Compares two int arrays lexicographically.

Compares two long arrays lexicographically over the specified ranges.

Compares two long arrays lexicographically.

Compares two short arrays lexicographically over the specified ranges.

Compares two short arrays lexicographically.

Compares two byte arrays lexicographically, numerically treating elements as unsigned.

Compares two byte arrays lexicographically over the specified ranges, numerically treating elements as unsigned.

Compares two int arrays lexicographically over the specified ranges, numerically treating elements as unsigned.

Compares two int arrays lexicographically, numerically treating elements as unsigned.

Compares two long arrays lexicographically over the specified ranges, numerically treating elements as unsigned.

Compares two long arrays lexicographically, numerically treating elements as unsigned.

Compares two short arrays lexicographically over the specified ranges, numerically treating elements as unsigned.

Compares two short arrays lexicographically, numerically treating elements as unsigned.

Returns true if the two specified arrays of Objects are equal to one another.

Returns true if the two specified arrays of Objects, over the specified ranges, are equal to one another.

Returns true if the two specified arrays of booleans, over the specified ranges, are equal to one another.

Returns true if the two specified arrays of bytes, over the specified ranges, are equal to one another.

Returns true if the two specified arrays of chars, over the specified ranges, are equal to one another.

Returns true if the two specified arrays of doubles, over the specified ranges, are equal to one another.

Returns true if the two specified arrays of floats, over the specified ranges, are equal to one another.

Returns true if the two specified arrays of ints, over the specified ranges, are equal to one another.

Returns true if the two specified arrays of Objects, over the specified ranges, are equal to one another.

Returns true if the two specified arrays of longs, over the specified ranges, are equal to one another.

Returns true if the two specified arrays of shorts, over the specified ranges, are equal to one another.

Finds and returns the index of the first mismatch between two Object arrays, otherwise return -1 if no mismatch is found.

Finds and returns the relative index of the first mismatch between two Object arrays over the specified ranges, otherwise return -1 if no mismatch is found.

Finds and returns the index of the first mismatch between two boolean arrays, otherwise return -1 if no mismatch is found.

Finds and returns the relative index of the first mismatch between two boolean arrays over the specified ranges, otherwise return -1 if no mismatch is found.

Finds and returns the index of the first mismatch between two byte arrays, otherwise return -1 if no mismatch is found.

Finds and returns the relative index of the first mismatch between two byte arrays over the specified ranges, otherwise return -1 if no mismatch is found.

Finds and returns the index of the first mismatch between two char arrays, otherwise return -1 if no mismatch is found.

Finds and returns the relative index of the first mismatch between two char arrays over the specified ranges, otherwise return -1 if no mismatch is found.

Finds and returns the index of the first mismatch between two double arrays, otherwise return -1 if no mismatch is found.

Finds and returns the relative index of the first mismatch between two double arrays over the specified ranges, otherwise return -1 if no mismatch is found.

Finds and returns the index of the first mismatch between two float arrays, otherwise return -1 if no mismatch is found.

Finds and returns the relative index of the first mismatch between two float arrays over the specified ranges, otherwise return -1 if no mismatch is found.

Finds and returns the relative index of the first mismatch between two int arrays over the specified ranges, otherwise return -1 if no mismatch is found.

Finds and returns the index of the first mismatch between two int arrays, otherwise return -1 if no mismatch is found.

Finds and returns the relative index of the first mismatch between two Object arrays over the specified ranges, otherwise return -1 if no mismatch is found.

Finds and returns the index of the first mismatch between two Object arrays, otherwise return -1 if no mismatch is found.

Finds and returns the relative index of the first mismatch between two long arrays over the specified ranges, otherwise return -1 if no mismatch is found.

Finds and returns the index of the first mismatch between two long arrays, otherwise return -1 if no mismatch is found.

Finds and returns the relative index of the first mismatch between two short arrays over the specified ranges, otherwise return -1 if no mismatch is found.

Finds and returns the index of the first mismatch between two short arrays, otherwise return -1 if no mismatch is found.

Currency

Returns the 3 digit ISO 4217 numeric code of this currency as a String.

Enumeration

Returns an Iterator that traverses the remaining elements covered by this enumeration.

List

Returns an immutable list containing zero elements.

Returns an immutable list containing one element.

Returns an immutable list containing two elements.

Returns an immutable list containing three elements.

Returns an immutable list containing four elements.

Returns an immutable list containing five elements.

Returns an immutable list containing six elements.

Returns an immutable list containing seven elements.

Returns an immutable list containing eight elements.

Returns an immutable list containing nine elements.

Returns an immutable list containing ten elements.

Returns an immutable list containing an arbitrary number of elements.

Locale

Returns a Set of ISO3166 country codes for the specified type.

Map<K,V>

Returns an immutable Map.Entry containing the given key and value.

Returns an immutable map containing zero mappings.

Returns an immutable map containing a single mapping.

Returns an immutable map containing two mappings.

Returns an immutable map containing three mappings.

Returns an immutable map containing four mappings.

Returns an immutable map containing five mappings.

Returns an immutable map containing six mappings.

Returns an immutable map containing seven mappings.

Returns an immutable map containing eight mappings.

Returns an immutable map containing nine mappings.

Returns an immutable map containing ten mappings.

Returns an immutable map containing keys and values extracted from the given entries.

Objects

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 the first argument if it is non-null and otherwise returns the non-null second argument.

Returns the first argument if it is non-null and otherwise returns the non-null value of supplier.get().

Optional

If a value is present, performs the given action with the value, otherwise performs the given empty-based action.

If a value is present, returns an Optional describing the value, otherwise returns an Optional produced by the supplying function.

If a value is present, returns a sequential Stream containing only that value, otherwise returns an empty Stream.

OptionalDouble

If a value is present, performs the given action with the value, otherwise performs the given empty-based action.

If a value is present, returns a sequential DoubleStream containing only that value, otherwise returns an empty DoubleStream.

OptionalInt

If a value is present, performs the given action with the value, otherwise performs the given empty-based action.

If a value is present, returns a sequential IntStream containing only that value, otherwise returns an empty IntStream.

OptionalLong

If a value is present, performs the given action with the value, otherwise performs the given empty-based action.

If a value is present, returns a sequential LongStream containing only that value, otherwise returns an empty LongStream.

ResourceBundle

Gets a resource bundle using the specified base name and the default locale on behalf of the specified module.

Gets a resource bundle using the specified base name and locale on behalf of the specified module.

Scanner

Returns a stream of match results that match the provided pattern string.

Returns a stream of match results from this scanner.

Returns a stream of delimiter-separated tokens from this scanner.

ServiceLoader

Load the first available service provider of this loader's service.

Creates a new service loader for the given service type to load service providers from modules in the given module layer and its ancestors.

Returns a stream to lazily load available providers of this loader's service.

Set

Returns an immutable set containing zero elements.

Returns an immutable set containing one element.

Returns an immutable set containing two elements.

Returns an immutable set containing three elements.

Returns an immutable set containing four elements.

Returns an immutable set containing five elements.

Returns an immutable set containing six elements.

Returns an immutable set containing seven elements.

Returns an immutable set containing eight elements.

Returns an immutable set containing nine elements.

Returns an immutable set containing ten elements.

Returns an immutable set containing an arbitrary number of elements.

java.util.concurrent CompletableFuture

Completes this CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the default executor.

Completes this CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the given executor.

Completes this CompletableFuture with the given value if not otherwise completed before the given timeout.

Returns a new CompletionStage that is already completed with the given value and supports only those methods in interface CompletionStage.

Returns a new CompletableFuture that is completed normally with the same value as this CompletableFuture when it completes normally.

Returns the default Executor used for async methods that do not specify an Executor.

Returns a new Executor that submits a task to the default executor after the given delay (or no delay if non-positive).

Returns a new Executor that submits a task to the given base executor after the given delay (or no delay if non-positive).

Returns a new CompletableFuture that is already completed exceptionally with the given exception.

Returns a new CompletionStage that is already completed exceptionally with the given exception and supports only those methods in interface CompletionStage.

Returns a new CompletionStage that is completed normally with the same value as this CompletableFuture when it completes normally, and cannot be independently completed or otherwise used in ways not defined by the methods of interface CompletionStage.

Returns a new incomplete CompletableFuture of the type to be returned by a CompletionStage method.

Exceptionally completes this CompletableFuture with a TimeoutException if not otherwise completed before the given timeout.

ForkJoinPool

Creates a ForkJoinPool with the given parameters.

ForkJoinTask

If the current thread is operating in a ForkJoinPool, unschedules and returns, without executing, a task externally submitted to the pool, if one is available.

TimeUnit

Converts a ChronoUnit to the equivalent TimeUnit.

Converts this TimeUnit to the equivalent ChronoUnit.

java.util.concurrent.atomic AtomicBoolean

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchange(java.lang.Object...).

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeAcquire(java.lang.Object...).

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeRelease(java.lang.Object...).

Returns the current value, with memory effects as specified by VarHandle.getAcquire(java.lang.Object...).

Returns the current value, with memory effects as specified by VarHandle.getOpaque(java.lang.Object...).

Returns the current value, with memory semantics of reading as if the variable was declared non-volatile.

Sets the value to newValue, with memory effects as specified by VarHandle.setOpaque(java.lang.Object...).

Sets the value to newValue, with memory semantics of setting as if the variable was declared non-volatile and non-final.

Sets the value to newValue, with memory effects as specified by VarHandle.setRelease(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetAcquire(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetPlain(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetRelease(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSet(java.lang.Object...).

AtomicInteger

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchange(java.lang.Object...).

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeAcquire(java.lang.Object...).

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeRelease(java.lang.Object...).

Returns the current value, with memory effects as specified by VarHandle.getAcquire(java.lang.Object...).

Returns the current value, with memory effects as specified by VarHandle.getOpaque(java.lang.Object...).

Returns the current value, with memory semantics of reading as if the variable was declared non-volatile.

Sets the value to newValue, with memory effects as specified by VarHandle.setOpaque(java.lang.Object...).

Sets the value to newValue, with memory semantics of setting as if the variable was declared non-volatile and non-final.

Sets the value to newValue, with memory effects as specified by VarHandle.setRelease(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetAcquire(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetPlain(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetRelease(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSet(java.lang.Object...).

AtomicIntegerArray

Atomically sets the element at index i to newValue if the element's current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchange(java.lang.Object...).

Atomically sets the element at index i to newValue if the element's current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeAcquire(java.lang.Object...).

Atomically sets the element at index i to newValue if the element's current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeRelease(java.lang.Object...).

Returns the current value of the element at index i, with memory effects as specified by VarHandle.getAcquire(java.lang.Object...).

Returns the current value of the element at index i, with memory effects as specified by VarHandle.getOpaque(java.lang.Object...).

Returns the current value of the element at index i, with memory semantics of reading as if the variable was declared non-volatile.

Sets the element at index i to newValue, with memory effects as specified by VarHandle.setOpaque(java.lang.Object...).

Sets the element at index i to newValue, with memory semantics of setting as if the variable was declared non-volatile and non-final.

Sets the element at index i to newValue, with memory effects as specified by VarHandle.setRelease(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetAcquire(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetPlain(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetRelease(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSet(java.lang.Object...).

AtomicLong

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchange(java.lang.Object...).

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeAcquire(java.lang.Object...).

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeRelease(java.lang.Object...).

Returns the current value, with memory effects as specified by VarHandle.getAcquire(java.lang.Object...).

Returns the current value, with memory effects as specified by VarHandle.getOpaque(java.lang.Object...).

Returns the current value, with memory semantics of reading as if the variable was declared non-volatile.

Sets the value to newValue, with memory effects as specified by VarHandle.setOpaque(java.lang.Object...).

Sets the value to newValue, with memory semantics of setting as if the variable was declared non-volatile and non-final.

Sets the value to newValue, with memory effects as specified by VarHandle.setRelease(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetAcquire(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetPlain(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetRelease(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSet(java.lang.Object...).

AtomicLongArray

Atomically sets the element at index i to newValue if the element's current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchange(java.lang.Object...).

Atomically sets the element at index i to newValue if the element's current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeAcquire(java.lang.Object...).

Atomically sets the element at index i to newValue if the element's current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeRelease(java.lang.Object...).

Returns the current value of the element at index i, with memory effects as specified by VarHandle.getAcquire(java.lang.Object...).

Returns the current value of the element at index i, with memory effects as specified by VarHandle.getOpaque(java.lang.Object...).

Returns the current value of the element at index i, with memory semantics of reading as if the variable was declared non-volatile.

Sets the element at index i to newValue, with memory effects as specified by VarHandle.setOpaque(java.lang.Object...).

Sets the element at index i to newValue, with memory semantics of setting as if the variable was declared non-volatile and non-final.

Sets the element at index i to newValue, with memory effects as specified by VarHandle.setRelease(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetAcquire(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetPlain(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetRelease(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSet(java.lang.Object...).

AtomicReference

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchange(java.lang.Object...).

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeAcquire(java.lang.Object...).

Atomically sets the value to newValue if the current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeRelease(java.lang.Object...).

Returns the current value, with memory effects as specified by VarHandle.getAcquire(java.lang.Object...).

Returns the current value, with memory effects as specified by VarHandle.getOpaque(java.lang.Object...).

Returns the current value, with memory semantics of reading as if the variable was declared non-volatile.

Sets the value to newValue, with memory effects as specified by VarHandle.setOpaque(java.lang.Object...).

Sets the value to newValue, with memory semantics of setting as if the variable was declared non-volatile and non-final.

Sets the value to newValue, with memory effects as specified by VarHandle.setRelease(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetAcquire(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetPlain(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetRelease(java.lang.Object...).

Possibly atomically sets the value to newValue if the current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSet(java.lang.Object...).

AtomicReferenceArray

Atomically sets the element at index i to newValue if the element's current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchange(java.lang.Object...).

Atomically sets the element at index i to newValue if the element's current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeAcquire(java.lang.Object...).

Atomically sets the element at index i to newValue if the element's current value, referred to as the witness value, == expectedValue, with memory effects as specified by VarHandle.compareAndExchangeRelease(java.lang.Object...).

Returns the current value of the element at index i, with memory effects as specified by VarHandle.getAcquire(java.lang.Object...).

Returns the current value of the element at index i, with memory effects as specified by VarHandle.getOpaque(java.lang.Object...).

Returns the current value of the element at index i, with memory semantics of reading as if the variable was declared non-volatile.

Sets the element at index i to newValue, with memory effects as specified by VarHandle.setOpaque(java.lang.Object...).

Sets the element at index i to newValue, with memory semantics of setting as if the variable was declared non-volatile and non-final.

Sets the element at index i to newValue, with memory effects as specified by VarHandle.setRelease(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetAcquire(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetPlain(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSetRelease(java.lang.Object...).

Possibly atomically sets the element at index i to newValue if the element's current value == expectedValue, with memory effects as specified by VarHandle.weakCompareAndSet(java.lang.Object...).

java.util.jar Attributes.Name

Name object for Multi-Release manifest attribute that indicates this is a multi-release JAR file.

JarFile

Creates a new JarFile to read from the specified File object in the specified mode.

Returns the version that represents the unversioned configuration of a multi-release jar file.

Returns the maximum version used when searching for versioned entries.

Indicates whether or not this jar file is a multi-release jar file.

Returns the version that represents the effective runtime versioned configuration of a multi-release jar file.

java.util.regex Matcher

Implements a non-terminal append-and-replace step.

Implements a terminal append-and-replace step.

Replaces every subsequence of the input sequence that matches the pattern with the result of applying the given replacer function to the match result of this matcher corresponding to that subsequence.

Replaces the first subsequence of the input sequence that matches the pattern with the result of applying the given replacer function to the match result of this matcher corresponding to that subsequence.

Returns a stream of match results for each subsequence of the input sequence that matches the pattern.

java.util.stream Collectors

Adapts a Collector to one accepting elements of the same type T by applying the predicate to each input element and only accumulating if the predicate returns true.

Adapts a Collector accepting elements of type U to one accepting elements of type T by applying a flat mapping function to each input element before accumulation.

DoubleStream

Returns, if this stream is ordered, a stream consisting of the remaining elements of this stream after dropping the longest prefix of elements that match the given predicate.

Returns a sequential ordered DoubleStream produced by iterative application of the given next function to an initial element, conditioned on satisfying the given hasNext predicate.

Returns, if this stream is ordered, a stream consisting of the longest prefix of elements taken from this stream that match the given predicate.

IntStream

Returns, if this stream is ordered, a stream consisting of the remaining elements of this stream after dropping the longest prefix of elements that match the given predicate.

Returns a sequential ordered IntStream produced by iterative application of the given next function to an initial element, conditioned on satisfying the given hasNext predicate.

Returns, if this stream is ordered, a stream consisting of the longest prefix of elements taken from this stream that match the given predicate.

LongStream

Returns, if this stream is ordered, a stream consisting of the remaining elements of this stream after dropping the longest prefix of elements that match the given predicate.

Returns a sequential ordered LongStream produced by iterative application of the given next function to an initial element, conditioned on satisfying the given hasNext predicate.

Returns, if this stream is ordered, a stream consisting of the longest prefix of elements taken from this stream that match the given predicate.

Stream

Returns, if this stream is ordered, a stream consisting of the remaining elements of this stream after dropping the longest prefix of elements that match the given predicate.

Returns a sequential ordered Stream produced by iterative application of the given next function to an initial element, conditioned on satisfying the given hasNext predicate.

Returns a sequential Stream containing a single element, if non-null, otherwise returns an empty Stream.

Returns, if this stream is ordered, a stream consisting of the longest prefix of elements taken from this stream that match the given predicate.

java.util.zip Checksum

Updates the current checksum with the specified array of bytes.

Updates the current checksum with the bytes from the specified buffer.

ZipEntry

Returns the last modification time of the entry in local date-time.

Sets the last modification time of the entry in local date-time.

javax.net.ssl ExtendedSSLSession

Returns a List containing DER-encoded OCSP responses (using the ASN.1 type OCSPResponse defined in RFC 6960) for the client to verify status of the server's certificate during handshaking.

SSLEngine

Returns the most recent application protocol value negotiated for this connection.

Returns the application protocol value negotiated on a SSL/TLS handshake currently in progress.

Retrieves the callback function that selects an application protocol value during a SSL/TLS/DTLS handshake.

Registers a callback function that selects an application protocol value for a SSL/TLS/DTLS handshake.

SSLEngineResult.HandshakeStatus

The SSLEngine needs to unwrap before handshaking can continue.

SSLEngineResult

Initializes a new instance of this class.

Returns the sequence number of the produced or consumed SSL/TLS/DTLS record (optional operation).

SSLParameters

Returns a prioritized array of application-layer protocol names that can be negotiated over the SSL/TLS/DTLS protocols.

Returns whether DTLS handshake retransmissions should be enabled.

Returns the maximum expected network packet size in bytes for SSL/TLS/DTLS records.

Sets the prioritized array of application-layer protocol names that can be negotiated over the SSL/TLS/DTLS protocols.

Sets whether DTLS handshake retransmissions should be enabled.

Sets the maximum expected network packet size in bytes for SSL/TLS/DTLS records.

SSLSocket

Returns the most recent application protocol value negotiated for this connection.

Returns the application protocol value negotiated on a SSL/TLS handshake currently in progress.

Retrieves the callback function that selects an application protocol value during a SSL/TLS/DTLS handshake.

Registers a callback function that selects an application protocol value for a SSL/TLS/DTLS handshake.

java.compiler javax.annotation.processing RoundEnvironment

Returns the elements annotated with one or more of the given annotation types.

Returns the elements annotated with one or more of the given annotation types.

javax.lang.model SourceVersion

The version recognized by the Java Platform, Standard Edition 9.

Returns whether or not s is a keyword, boolean literal, or null literal in the given source version.

Returns whether or not name is a syntactically valid qualified name in the given source version.

javax.lang.model.element ElementKind

A module.

ElementVisitor<R,P>

Visits a module element.

javax.lang.model.type TypeKind

A pseudo-type corresponding to a module element.

javax.lang.model.util AbstractElementVisitor6<R,P>

Visits a module element.

ElementFilter

Returns a list of exports directives in directives.

Returns a list of modules in elements.

Returns a set of modules in elements.

Returns a list of opens directives in directives.

Returns a list of provides directives in directives.

Returns a list of requires directives in directives.

Returns a list of uses directives in directives.

Elements

Returns all module elements in the current environment.

Returns all package elements with the given canonical name.

Returns all type elements with the given canonical name.

Returns a module element given its fully qualified name.

Returns the module of an element.

Returns the origin of the given annotation mirror.

Returns the origin of the given element.

Returns the origin of the given module directive.

Returns a package given its fully qualified name, as seen from the given module.

Returns a type element given its canonical name, as seen from the given module.

Returns true if the executable element is a bridge method, false otherwise.

javax.tools DocumentationTool.DocumentationTask

Adds root modules to be taken into account during module resolution.

ForwardingJavaFileManager

Determines whether or not a given file object is "contained in" a specified location.

Gets a location for a named module within a location, which may be either a module-oriented location or an output location.

Gets a location for the module containing a specific file to be found within a location, which may be either a module-oriented location or an output location.

Get a service loader for a specific service class from a given location.

Infer the name of the module from its location, as returned by getLocationForModule or listModuleLocations.

Lists the locations for all the modules in a module-oriented location or an output location.

JavaCompiler.CompilationTask

Adds root modules to be taken into account during module resolution.

JavaFileManager.Location

Indicates if this location is module-oriented location, and therefore expected to contain classes in a module/package/class hierarchy, as compared to a package-oriented location, which is expected to contain classes in a package/class hierarchy.

JavaFileManager

Determines whether or not a given file object is "contained in" a specified location.

Gets a location for a named module within a location, which may be either a module-oriented location or an output location.

Gets a location for the module containing a specific file to be found within a location, which may be either a module-oriented location or an output location.

Get a service loader for a specific service class from a given location.

Infer the name of the module from its location, as returned by getLocationForModule or listModuleLocations.

Lists the locations for all the modules in a module-oriented location or an output location.

StandardJavaFileManager

Returns the path, if any, underlying this file object (optional operation).

Returns file objects representing the given paths.

Returns file objects representing the given paths.

Returns the search path associated with the given location.

Associates the given search path with the given module and location, which must be a module-oriented or output location.

Associates the given search path with the given location.

Specify a factory that can be used to generate a path from a string, or series of strings.

StandardLocation

Location to search for modules containing annotation processors.

Location to search for precompiled user modules.

Location to search for the source code of modules.

Location to search for module patches.

Location to search for system modules.

Location to search for upgradeable system modules.

Indicates if this location is module-oriented location, and therefore expected to contain classes in a module/package/class hierarchy, as compared to a package-oriented location, which is expected to contain classes in a package/class hierarchy.

Tool

Returns the name of this tool, or an empty string if no name is provided.

java.desktop java.awt Component

Requests by the reason of cause that this Component get the input focus, and that this Component's top-level ancestor become the focused Window.

Requests by the reason of cause that this Component get the input focus, and that this Component's top-level ancestor become the focused Window.

Requests by the reason of cause that this Component get the input focus, if this Component's top-level ancestor is already the focused Window.

Sets a 'mixing-cutout' shape for this lightweight component.

Desktop.Action

Represents an AboutHandler

Represents an AppForegroundListener

Represents an AppHiddenListener

Represents an AppReopenedListener

Represents a ScreenSleepListener

Represents a SystemSleepListener

Represents a UserSessionListener

Represents a HelpViewer

Represents a menu bar

Represents an OpenFilesHandler

Represents an OpenURIHandler

Represents a PreferencesHandler

Represents a PrintFilesHandler

Represents a QuitHandler

Represents a QuitStrategy

Represents a requestForeground

Represents a SuddenTermination

Represents a browse file directory

Represents a move to trash

Desktop

Adds sub-types of SystemEventListener to listen for notifications from the native system.

Opens a folder containing the file and selects it in a default system file manager.

Prevents this application from being suddenly terminated.

Enables this application to be suddenly terminated.

Moves the specified file to the trash.

Opens the native help viewer application.

Removes sub-types of SystemEventListener to listen for notifications from the native system.

Requests this application to move to the foreground.

Installs a handler to show a custom About window for your application.

Sets the default menu bar to use when there are no active frames.

Installs the handler which is notified when the application is asked to open a list of files.

Installs the handler which is notified when the application is asked to open a URL.

Installs a handler to show a custom Preferences window for your application.

Installs the handler which is notified when the application is asked to print a list of files.

Installs the handler which determines if the application should quit.

Sets the default strategy used to quit this application.

Font

Returns a new array of Font decoded from the specified file.

Returns a new array of Font decoded from the specified stream.

Returns true if any part of the specified text is from a complex script for which the implementation will need to invoke layout processing in order to render correctly when using drawString(String,int,int) and other text rendering methods.

RenderingHints

Image resolution variant hint key.

Image resolution variant hint value -- the standard resolution of an image is always used.

Image resolution variant hint value -- an image resolution variant is chosen based on a default heuristic which may depend on the policies of the platform

Image resolution variant hint value -- an image resolution variant is chosen based only on the DPI of the screen.

Image resolution variant hint value -- an image resolution variant is chosen based on the DPI of the screen and the transform in the Graphics2D context.

Robot

Creates an image containing pixels read from the screen.

java.awt.event FocusEvent

Constructs a FocusEvent object with the specified temporary state, opposite Component and the cause.

Returns the event cause.

java.awt.font NumericShaper.Range

The Myanmar Extended-B range with the Myanmar Tai Laing digits.

The Sinhala range with the Sinhala digits.

javax.swing InputVerifier

Is called by Swing if this InputVerifier is assigned to the source Swing component to check whether the requested focus transfer from the source to target is allowed.

Checks whether the target JComponent that will be receiving the focus is ready to accept it.

JComponent

Returns the look and feel delegate that renders this component.

JToggleButton

If this toggle button is a member of the ButtonGroup which has another toggle button which is selected and can be the focus owner, and the focus cause argument denotes window activation or focus traversal action of any direction the result of the method execution is the same as calling Component.requestFocus(FocusEvent.Cause) on the toggle button selected in the group.

If this toggle button is a member of the ButtonGroup which has another toggle button which is selected and can be the focus owner, and the focus cause argument denotes window activation or focus traversal action of any direction the result of the method execution is the same as calling Component.requestFocusInWindow(FocusEvent.Cause) on the toggle button selected in the group.

UIManager

Creates a supported built-in Java LookAndFeel specified by the given L&F name name.

javax.swing.filechooser FileSystemView

Returns an array of files representing the values to show by default in the file chooser selector.

Returns the regular file referenced by the specified link file if the specified file is a shell interpreted link.

Returns whether the specified file denotes a shell interpreted link which can be obtained by the getLinkLocation(File).

javax.swing.plaf TextUI

Returns the string to be used as the tooltip at the passed in location.

Converts the given location in the model to a place in the view coordinate system.

Provides a mapping from the view coordinate space to the logical coordinate space of the model.

javax.swing.plaf.basic BasicGraphicsUtils

Draws the given string at the specified location using text properties and anti-aliasing hints from the provided component.

Draws the given string at the specified location underlining the specified character.

Clips the passed in string to the space provided.

Returns the width of the passed in string using text properties and anti-aliasing hints from the provided component.

javax.swing.text JTextComponent

Converts the given location in the model to a place in the view coordinate system.

Converts the given place in the view coordinate system to the nearest representative location in the model.

PasswordView

Renders the echo character, or whatever graphic should be used to display the password characters.

PlainView

Renders a line of text, suppressing whitespace at the end and expanding any tabs.

Renders the given range in the model as selected text.

Renders the given range in the model as normal unselected text.

Utilities

Draws the given text, expanding any tabs that are contained using the given tab expansion technique.

Determine where to break the given text to fit within the given span.

Determines the position in the model that is closest to the given view location in the row above.

Determines the position in the model that is closest to the given view location in the row below.

Determines the relative offset into the given text that best represents the given span in the view coordinate system.

Determines the width of the given segment of text taking tabs into consideration.

WrappedPlainView

Renders a line of text, suppressing whitespace at the end and expanding any tabs.

Renders the given range in the model as selected text.

Renders the given range in the model as normal unselected text.

java.instrument java.lang.instrument ClassFileTransformer

Transforms the given class file and returns a new replacement class file.

Instrumentation

Tests whether a module can be modified with redefineModule.

Redefine a module to expand the set of modules that it reads, the set of packages that it exports or opens, or the services that it uses or provides.

java.logging java.util.logging FileHandler

Initialize a FileHandler to write to a set of files with optional append.

LogManager

Adds a configuration listener to be invoked each time the logging configuration is read.

Removes a previously registered configuration listener.

Updates the logging configuration.

Updates the logging configuration.

LogRecord

Gets the instant that the event occurred.

Sets the instant that the event occurred.

Logger

Log a message, specifying source class, method, and resource bundle, with an optional list of message parameters.

Log a message, specifying source class, method, and resource bundle, with associated Throwable information.

java.management java.lang.management ThreadInfo

Returns the thread priority of the thread associated with this ThreadInfo.

Tests if the thread associated with this ThreadInfo is a daemon thread.

java.rmi java.rmi.server UnicastRemoteObject

Exports the remote object to make it available to receive incoming calls, using the particular supplied port and filter.

Exports the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory and filter.

java.sql java.sql Connection

Hints to the driver that a request, an independent unit of work, is beginning on this connection.

Hints to the driver that a request, an independent unit of work, has completed.

Specifies a shardingKey to use with this Connection

Specifies a shardingKey and superShardingKey to use with this Connection

Sets and validates the sharding key for this connection.

Sets and validates the sharding keys for this connection.

DatabaseMetaData

Retrieves whether this database supports sharding.

DriverManager

Retrieves a Stream with all of the currently loaded JDBC drivers to which the current caller has access.

Statement

Returns a SQL identifier.

Returns a String enclosed in single quotes.

Returns a String representing a National Character Set Literal enclosed in single quotes and prefixed with a upper case letter N.

Retrieves whether identifier is a simple SQL identifier.

javax.sql CommonDataSource

Creates a new ShardingKeyBuilder instance

ConnectionPoolDataSource

Creates a new PooledConnectionBuilder instance

DataSource

Create a new ConnectionBuilder instance

XADataSource

Creates a new XAConnectionBuilder instance

java.xml javax.xml XMLConstants

Feature: useCatalog

javax.xml.datatype DatatypeFactory

Creates a new instance of the DatatypeFactory builtin system-default implementation.

javax.xml.parsers DocumentBuilderFactory

Creates a new instance of the DocumentBuilderFactory builtin system-default implementation.

SAXParserFactory

Creates a new instance of the SAXParserFactory builtin system-default implementation.

javax.xml.stream XMLEventFactory

Creates a new instance of the XMLEventFactory builtin system-default implementation.

XMLInputFactory

Creates a new instance of the XMLInputFactory builtin system-default implementation.

XMLOutputFactory

Creates a new instance of the XMLOutputFactory builtin system-default implementation.

javax.xml.transform TransformerFactory

Creates a new instance of the TransformerFactory builtin system-default implementation.

javax.xml.validation SchemaFactory

Creates a new instance of the SchemaFactory builtin system-default implementation.

javax.xml.xpath XPath

Evaluate an XPath expression in the specified context.

Evaluate an XPath expression in the specified context and return the result with the type specified through the class type

Evaluate an XPath expression in the specified context.

Evaluate an XPath expression in the context of the specified source and return the result as specified.

XPathExpression

Evaluate the compiled XPath expression in the specified context.

Evaluate the compiled XPath expression in the specified context, and return the result with the type specified through the class type.

Evaluate the compiled XPath expression in the specified context.

Evaluate the compiled XPath expression in the specified context, and return the result with the type specified through the class type

XPathFactory

Creates a new instance of the XPathFactory builtin system-default implementation.

javafx.base javafx.collections.transformation TransformationList<E,F>

Maps the index of the direct source list's element to an index in this list.

javafx.controls javafx.scene.control Accordion

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

ButtonBar

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

Cell

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

ComboBox

If the ComboBox is editable, calling this method will attempt to replace the editor text with the last committed value.

If the ComboBox is editable, calling this method will attempt to commit the current text and convert it to a value.

Control

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

Hyperlink

Returns the initial cursor state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

Label

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

Labeled

Returns the initial alignment state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

MenuBar

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

ProgressBar

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

ProgressIndicator

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

RadioButton

Returns the initial alignment state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

ScrollBar

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

ScrollPane

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

Separator

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

SkinBase

Convenience method for accessing the snapPositionX() method on the skinnable.

Convenience method for accessing the snapPositionY() method on the skinnable.

Convenience method for accessing the snapSizeX() method on the skinnable.

Convenience method for accessing the snapSizeY() method on the skinnable.

Convenience method for accessing the snapSpaceX() method on the skinnable.

Convenience method for accessing the snapSpaceY() method on the skinnable.

Unregisters all change listeners that have been registered using registerChangeListener(ObservableValue, Consumer) for the given property.

Spinner

If the Spinner is editable, calling this method will attempt to replace the editor text with the last committed value.

If the Spinner is editable, calling this method will attempt to commit the current text and convert it to a value.

Gets the value of the property promptText.

The prompt text to display in the Spinner, or null if no prompt text is displayed.

The prompt text to display in the Spinner, or null if no prompt text is displayed.

Sets the value of the property promptText.

SplitPane

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

TableColumnBase<S,T>

Gets the value of the property reorderable.

A boolean property to toggle on and off the 'reorderability' of this column (with drag and drop - reordering by modifying the appropriate columns list is always allowed).

A boolean property to toggle on and off the 'reorderability' of this column (with drag and drop - reordering by modifying the appropriate columns list is always allowed).

Sets the value of the property reorderable.

ToggleButton

Returns the initial alignment state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

ToolBar

Returns the initial focus traversable state of this control, for use by the JavaFX CSS engine to correctly set its initial value.

Tooltip

Gets the value of the property hideDelay.

Gets the value of the property showDelay.

Gets the value of the property showDuration.

The duration in which to continue showing the tooltip after the mouse has left the node.

The duration in which to continue showing the tooltip after the mouse has left the node.

Sets the value of the property hideDelay.

Sets the value of the property showDelay.

Sets the value of the property showDuration.

The delay between the mouse entering the hovered node and when the associated tooltip will be shown to the user.

The delay between the mouse entering the hovered node and when the associated tooltip will be shown to the user.

The duration that the tooltip should remain showing for until it is no longer visible to the user.

The duration that the tooltip should remain showing for until it is no longer visible to the user.

javafx.fxml javafx.fxml FXMLLoader

Returns this loader's load listener.

Sets this loader's load listener.

javafx.graphics javafx.application Platform

Enter a nested event loop and block until the corresponding exitNestedEventLoop call is made.

Exit a nested event loop and unblock the caller of the corresponding enterNestedEventLoop.

Checks whether a nested event loop is running, returning true to indicate that one is, and false if there are no nested event loops currently running.

Requests the Java Runtime to perform a pulse.

This method starts the JavaFX runtime.

javafx.css ParsedValue<V,T>

If value is itself a ParsedValue or sequence of values, and should any of those values need to be looked up, then this flag is set.

If value references another property, then the real value needs to be looked up.

StyleConverter<F,T>

Cache the value for the specified key.

Clear the cache.

Convert from the constituent values to the target property type.

Get the cached value for the specified key.

Read binary data stream.

Write binary data.

Styleable

Returns the Node that represents this Styleable object.

javafx.scene Node

Returns the initial cursor state of this node, for use by the JavaFX CSS engine to correctly set its initial value.

Returns the initial focus traversable state of this node, for use by the JavaFX CSS engine to correctly set its initial value.

Gets the value of the property viewOrder.

Sets the value of the property viewOrder.

Defines the rendering and picking order of this Node within its parent.

Defines the rendering and picking order of this Node within its parent.

Scene

Adds a new scene post layout pulse listener to this scene.

Adds a new scene pre layout pulse listener to this scene.

Removes a previously registered scene post layout pulse listener from listening to pulses in this scene.

Removes a previously registered scene pre layout pulse listener from listening to pulses in this scene.

javafx.scene.image Image

Returns the url used to fetch the pixel data contained in the Image instance, if specified in the constructor.

javafx.scene.input KeyCode

Returns the character element of this key code, which is simply a mapping of the underlying platform code returned by getCode().

Returns the underlying platform code used to represent the character in the key code.

javafx.scene.layout GridPane

Returns the bounds of the cell at the specified column and row position.

Returns the number of columns in this GridPane.

Returns the number of rows in this GridPane.

Region

If this region's snapToPixel property is true, returns a value rounded to the nearest pixel in the horizontal direction, else returns the same value.

If this region's snapToPixel property is true, returns a value rounded to the nearest pixel in the vertical direction, else returns the same value.

If this region's snapToPixel property is true, returns a value ceiled to the nearest pixel in the horizontal direction, else returns the same value.

If this region's snapToPixel property is true, returns a value ceiled to the nearest pixel in the vertical direction, else returns the same value.

If this region's snapToPixel property is true, returns a value rounded to the nearest pixel in the horizontal direction, else returns the same value.

If this region's snapToPixel property is true, returns a value rounded to the nearest pixel in the vertical direction, else returns the same value.

javafx.scene.text Font

Loads font resources from the specified input stream.

Loads font resources from the specified URL.

Text

Returns shape for the caret at given index and bias.

Shape of caret in local coordinates.

Gets the value of the property selectionFill.

Shape of selection in local coordinates.

Maps local point to index in the content.

Returns shape for the range of the text in local coordinates.

The fill color of selected text.

The fill color of selected text.

caret bias in the content.

Caret index in the content.

Selection end index in the content.

Sets the value of the property selectionFill.

Selection start index in the content.

Returns shape for the underline in local coordinates.

TextFlow

Returns shape of caret in local coordinates.

Maps local point to index in the content.

Returns shape for the range of the text in local coordinates.

javafx.stage Screen

Gets the recommended output scale factor of this Screen in the horizontal (X) direction.

Gets the recommended output scale factor of this Screen in the vertical (Y) direction.

Window

Boolean property that controls whether only integer render scales are set by default by the system when there is a change in the associated output scale.

Boolean property that controls whether only integer render scales are set by default by the system when there is a change in the associated output scale.

Gets the value of the property outputScaleX.

Gets the value of the property outputScaleY.

Gets the value of the property renderScaleX.

Gets the value of the property renderScaleY.

Returns a list containing a reference to the currently showing JavaFX windows.

Gets the value of the property forceIntegerRenderScale.

The scale that the Window will apply to horizontal scene coordinates in all stages of rendering and compositing the output to the screen or other destination device.

The scale that the Window will apply to horizontal scene coordinates in all stages of rendering and compositing the output to the screen or other destination device.

The scale that the Window will apply to vertical scene coordinates in all stages of rendering and compositing the output to the screen or other destination device.

The scale that the Window will apply to vertical scene coordinates in all stages of rendering and compositing the output to the screen or other destination device.

The horizontal scale that the Window will use when rendering its Scene to the rendering buffer.

The horizontal scale that the Window will use when rendering its Scene to the rendering buffer.

The vertical scale that the Window will use when rendering its Scene to the rendering buffer.

The vertical scale that the Window will use when rendering its Scene to the rendering buffer.

Sets the value of the property forceIntegerRenderScale.

Sets the value of the property renderScaleX.

Sets the value of the property renderScaleY.

jdk.compiler com.sun.source.doctree DocCommentTree

Returns the entire body of a documentation comment, appearing before any block tags, including the first sentence.

com.sun.source.tree CompilationUnitTree

Returns the package tree associated with this compilation unit, or null if there is no package declaration.

Tree.Kind

Used for instances of PackageTree.

com.sun.source.util DocTrees

Returns the break iterator used to compute the first sentence of documentation comments.

Returns the doc comment tree of the given element.

Returns the doc comment tree of the given file whose path is specified relative to the given element.

Returns the doc comment tree of the given file.

Returns a utility object for creating DocTree objects.

Returns a doc tree path containing the doc comment tree of the given file.

Returns the list of DocTree representing the first sentence of a comment.

Sets the break iterator to compute the first sentence of documentation comments.

TaskEvent.Kind

Sent before parsing first source file, and after writing the last output file.

jdk.jartool com.sun.jarsigner ContentSignerParameters

Deprecated.  Retreives the message digest algorithm that is used to generate the message imprint to be sent to the TSA server.

jdk.jdi com.sun.jdi ReferenceType

Gets the module object which contains the class corresponding to this type.

VirtualMachine

Returns all modules.

Determines if the target VM supports getting information about modules.

jdk.management com.sun.management VMOption.Origin

The VM option was set using the attach framework.

jdk.security.jgss com.sun.security.jgss InquireType

Attribute type for retrieving the KRB_CRED message that an initiator is about to send to an acceptor.

Attribute type for retrieving the session key of an established Kerberos 5 security context.

Recommended Posts