| Package | Description |
|---|---|
| java.beans | |
| java.io | |
| java.lang | |
| java.lang.annotation | |
| java.lang.invoke | |
| java.lang.ref |
Provides reference-object classes, which support a limited degree of
interaction with the garbage collector.
|
| java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
| java.math |
Provides classes for performing arbitrary-precision integer
arithmetic (
BigInteger) and arbitrary-precision decimal
arithmetic (BigDecimal). |
| java.net | |
| java.nio | |
| java.nio.charset | |
| java.security | |
| java.text | |
| java.util | |
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| java.util.concurrent.atomic |
A small toolkit of classes that support lock-free thread-safe
programming on single variables.
|
| java.util.concurrent.locks |
Interfaces and classes providing a framework for locking and waiting
for conditions that is distinct from built-in synchronization and
monitors.
|
| java.util.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
| java.util.logging | |
| java.util.regex |
Classes for matching character sequences against patterns specified by regular
expressions.
|
| java.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
| javax.annotation.processing | |
| org.apidesign.bck2brwsr.launcher.b2b | |
| org.apidesign.bck2brwsr.launcher.impl | |
| org.apidesign.vm4brwsr | |
| org.apidesign.vm4brwsr.api | |
| org.netbeans.modules.openide.util | |
| org.openide.util |
Client API part of the
Lookup
interfaces.
|
| org.openide.util.lookup |
Support classes for the Registration and
Lookup extension mechanism. |
| org.openide.util.lookup.implspi |
Interfaces intended to be used within the NetBeans Platform.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IndexedPropertyChangeEvent
An "IndexedPropertyChange" event gets delivered whenever a component that
conforms to the JavaBeans™ specification (a "bean") changes a bound
indexed property.
|
class |
PropertyChangeEvent
A "PropertyChange" event gets delivered whenever a bean changes a "bound"
or "constrained" property.
|
class |
PropertyChangeListenerProxy
A class which extends the
EventListenerProxy
specifically for adding a PropertyChangeListener
with a "bound" property. |
class |
PropertyChangeSupport
This is a utility class that can be used by beans that support bound
properties.
|
class |
PropertyVetoException
A PropertyVetoException is thrown when a proposed change to a
property represents an unacceptable value.
|
class |
VetoableChangeListenerProxy
A class which extends the
EventListenerProxy
specifically for adding a VetoableChangeListener
with a "constrained" property. |
class |
VetoableChangeSupport
This is a utility class that can be used by beans that support constrained
properties.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
PropertyChangeEvent.getNewValue()
Gets the new value for the property, expressed as an Object.
|
Object |
PropertyChangeEvent.getOldValue()
Gets the old value for the property, expressed as an Object.
|
Object |
PropertyChangeEvent.getPropagationId()
The "propagationId" field is reserved for future use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
Object oldValue,
Object newValue)
Reports a bound indexed property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Reports a bound property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Reports a constrained property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeEvent.setPropagationId(Object propagationId)
Sets the propagationId object for the event.
|
| Constructor and Description |
|---|
IndexedPropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue,
int index)
Constructs a new
IndexedPropertyChangeEvent object. |
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
Constructs a new
PropertyChangeEvent. |
PropertyChangeSupport(Object sourceBean)
Constructs a
PropertyChangeSupport object. |
VetoableChangeSupport(Object sourceBean)
Constructs a
VetoableChangeSupport object. |
| Modifier and Type | Class and Description |
|---|---|
class |
BufferedInputStream
A
BufferedInputStream adds
functionality to another input stream-namely,
the ability to buffer the input and to
support the mark and reset
methods. |
class |
BufferedOutputStream
The class implements a buffered output stream.
|
class |
BufferedReader
Reads text from a character-input stream, buffering characters so as to
provide for the efficient reading of characters, arrays, and lines.
|
class |
BufferedWriter
Writes text to a character-output stream, buffering characters so as to
provide for the efficient writing of single characters, arrays, and strings.
|
class |
ByteArrayInputStream
A
ByteArrayInputStream contains
an internal buffer that contains bytes that
may be read from the stream. |
class |
ByteArrayOutputStream
This class implements an output stream in which the data is
written into a byte array.
|
class |
DataInputStream
A data input stream lets an application read primitive Java data
types from an underlying input stream in a machine-independent
way.
|
class |
DataOutputStream
A data output stream lets an application write primitive Java data
types to an output stream in a portable way.
|
class |
EOFException
Signals that an end of file or end of stream has been reached
unexpectedly during input.
|
class |
File
An abstract representation of file and directory pathnames.
|
class |
FileDescriptor
Instances of the file descriptor class serve as an opaque handle
to the underlying machine-specific structure representing an open
file, an open socket, or another source or sink of bytes.
|
class |
FileInputStream
A
FileInputStream obtains input bytes
from a file in a file system. |
class |
FileNotFoundException
Signals that an attempt to open the file denoted by a specified pathname
has failed.
|
class |
FileOutputStream
A file output stream is an output stream for writing data to a
File or to a FileDescriptor. |
class |
FileReader
Convenience class for reading character files.
|
class |
FileWriter
Convenience class for writing character files.
|
class |
FilterInputStream
A
FilterInputStream contains
some other input stream, which it uses as
its basic source of data, possibly transforming
the data along the way or providing additional
functionality. |
class |
FilterOutputStream
This class is the superclass of all classes that filter output
streams.
|
class |
FilterReader
Abstract class for reading filtered character streams.
|
class |
FilterWriter
Abstract class for writing filtered character streams.
|
class |
InputStream
This abstract class is the superclass of all classes representing
an input stream of bytes.
|
class |
InputStreamReader
An InputStreamReader is a bridge from byte streams to character streams: It
reads bytes and decodes them into characters using a specified
. |
class |
InterruptedIOException
Signals that an I/O operation has been interrupted.
|
class |
InvalidClassException
Thrown when the Serialization runtime detects one of the following
problems with a Class.
|
class |
InvalidObjectException
Indicates that one or more deserialized objects failed validation
tests.
|
class |
IOException
Signals that an I/O exception of some sort has occurred.
|
class |
LineNumberInputStream
Deprecated.
This class incorrectly assumes that bytes adequately represent
characters. As of JDK 1.1, the preferred way to operate on
character streams is via the new character-stream classes, which
include a class for counting line numbers.
|
class |
LineNumberReader
A buffered character-input stream that keeps track of line numbers.
|
class |
NotActiveException
Thrown when serialization or deserialization is not active.
|
class |
NotSerializableException
Thrown when an instance is required to have a Serializable interface.
|
class |
ObjectInputStream
An ObjectInputStream deserializes primitive data and objects previously
written using an ObjectOutputStream.
|
static class |
ObjectInputStream.GetField
Provide access to the persistent fields read from the input stream.
|
class |
ObjectOutputStream
An ObjectOutputStream writes primitive data types and graphs of Java objects
to an OutputStream.
|
static class |
ObjectOutputStream.PutField
Provide programmatic access to the persistent fields to be written
to ObjectOutput.
|
class |
ObjectStreamClass
Serialization's descriptor for classes.
|
class |
ObjectStreamException
Superclass of all exceptions specific to Object Stream classes.
|
class |
ObjectStreamField
A description of a Serializable field from a Serializable class.
|
class |
OptionalDataException
Exception indicating the failure of an object read operation due to
unread primitive data, or the end of data belonging to a serialized
object in the stream.
|
class |
OutputStream
This abstract class is the superclass of all classes representing
an output stream of bytes.
|
class |
OutputStreamWriter
An OutputStreamWriter is a bridge from character streams to byte streams:
Characters written to it are encoded into bytes using a specified
. |
class |
PrintStream
A
PrintStream adds functionality to another output stream,
namely the ability to print representations of various data values
conveniently. |
class |
PrintWriter
Prints formatted representations of objects to a text-output stream.
|
class |
PushbackInputStream
A
PushbackInputStream adds
functionality to another input stream, namely
the ability to "push back" or "unread"
one byte. |
class |
Reader
Abstract class for reading character streams.
|
class |
StreamCorruptedException
Thrown when control information that was read from an object stream
violates internal consistency checks.
|
class |
StringReader
A character stream whose source is a string.
|
class |
StringWriter
A character stream that collects its output in a string buffer, which can
then be used to construct a string.
|
class |
SyncFailedException
Signals that a sync operation has failed.
|
class |
UnsupportedEncodingException
The Character Encoding is not supported.
|
class |
UTFDataFormatException
Signals that a malformed string in
modified UTF-8
format has been read in a data
input stream or by any class that implements the data input
interface.
|
class |
WriteAbortedException
Signals that one of the ObjectStreamExceptions was thrown during a
write operation.
|
class |
Writer
Abstract class for writing to character streams.
|
| Modifier and Type | Field and Description |
|---|---|
protected Object |
Writer.lock
The object used to synchronize operations on this stream.
|
protected Object |
Reader.lock
The object used to synchronize operations on this stream.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field.
|
Object |
ObjectInputStream.readObject()
Read an object from the ObjectInputStream.
|
Object |
ObjectInput.readObject()
Read and return an object.
|
protected Object |
ObjectInputStream.readObjectOverride()
This method is called by trusted subclasses of ObjectOutputStream that
constructed ObjectOutputStream using the protected no-arg constructor.
|
Object |
ObjectInputStream.readUnshared()
Reads an "unshared" object from the ObjectInputStream.
|
protected Object |
ObjectOutputStream.replaceObject(Object obj)
This method will allow trusted subclasses of ObjectOutputStream to
substitute one object for another during serialization.
|
protected Object |
ObjectInputStream.resolveObject(Object obj)
This method will allow trusted subclasses of ObjectInputStream to
substitute one object for another during deserialization.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ObjectStreamField.compareTo(Object obj)
Compare this field with another
ObjectStreamField. |
boolean |
File.equals(Object obj)
Tests this abstract pathname for equality with the given object.
|
PrintWriter |
PrintWriter.format(String format,
Object... args)
Writes a formatted string to this writer using the specified format
string and arguments.
|
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field.
|
void |
PrintWriter.print(Object obj)
Prints an object.
|
void |
PrintStream.print(Object obj)
Prints an object.
|
PrintWriter |
PrintWriter.printf(String format,
Object... args)
A convenience method to write a formatted string to this writer using
the specified format string and arguments.
|
PrintStream |
PrintStream.printf(String format,
Object... args)
A convenience method to write a formatted string to this output stream
using the specified format string and arguments.
|
void |
PrintWriter.println(Object x)
Prints an Object and then terminates the line.
|
void |
PrintStream.println(Object x)
Prints an Object and then terminate the line.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
Object val)
Put the value of the named Object field into the persistent field.
|
protected Object |
ObjectOutputStream.replaceObject(Object obj)
This method will allow trusted subclasses of ObjectOutputStream to
substitute one object for another during serialization.
|
protected Object |
ObjectInputStream.resolveObject(Object obj)
This method will allow trusted subclasses of ObjectInputStream to
substitute one object for another during deserialization.
|
void |
ObjectOutputStream.writeObject(Object obj)
Write the specified object to the ObjectOutputStream.
|
void |
ObjectOutput.writeObject(Object obj)
Write an object to the underlying storage or stream.
|
protected void |
ObjectOutputStream.writeObjectOverride(Object obj)
Method used by subclasses to override the default writeObject method.
|
void |
ObjectOutputStream.writeUnshared(Object obj)
Writes an "unshared" object to the ObjectOutputStream.
|
| Constructor and Description |
|---|
Reader(Object lock)
Creates a new character-stream reader whose critical sections will
synchronize on the given object.
|
Writer(Object lock)
Creates a new character-stream writer whose critical sections will
synchronize on the given object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMethodError
Thrown when an application tries to call an abstract method.
|
class |
ArithmeticException
Thrown when an exceptional arithmetic condition has occurred.
|
class |
ArrayIndexOutOfBoundsException
Thrown to indicate that an array has been accessed with an
illegal index.
|
class |
ArrayStoreException
Thrown to indicate that an attempt has been made to store the
wrong type of object into an array of objects.
|
class |
AssertionError
Thrown to indicate that an assertion has failed.
|
class |
Boolean
The Boolean class wraps a value of the primitive type
boolean in an object. |
class |
Byte
The
Byte class wraps a value of primitive type byte
in an object. |
class |
Character
The
Character class wraps a value of the primitive
type char in an object. |
static class |
Character.Subset
Instances of this class represent particular subsets of the Unicode
character set.
|
class |
Class<T>
Instances of the class
Class represent classes and
interfaces in a running Java application. |
class |
ClassCastException
Thrown to indicate that the code has attempted to cast an object
to a subclass of which it is not an instance.
|
class |
ClassFormatError
Thrown when the Java Virtual Machine attempts to read a class
file and determines that the file is malformed or otherwise cannot
be interpreted as a class file.
|
class |
ClassLoader
A class loader is an object that is responsible for loading classes.
|
class |
ClassNotFoundException
Thrown when an application tries to load in a class through its
string name using:
The
forName method in class Class. |
class |
ClassValue<T>
Lazily associate a computed value with (potentially) every type.
|
class |
CloneNotSupportedException
Thrown to indicate that the
clone method in class
Object has been called to clone an object, but that
the object's class does not implement the Cloneable
interface. |
class |
Double
The
Double class wraps a value of the primitive type
double in an object. |
class |
Enum<E extends Enum<E>>
This is the common base class of all Java language enumeration types.
|
class |
Error
An
Error is a subclass of Throwable
that indicates serious problems that a reasonable application
should not try to catch. |
class |
Exception
The class
Exception and its subclasses are a form of
Throwable that indicates conditions that a reasonable
application might want to catch. |
class |
Float
The
Float class wraps a value of primitive type
float in an object. |
class |
IllegalAccessError
Thrown if an application attempts to access or modify a field, or
to call a method that it does not have access to.
|
class |
IllegalAccessException
An IllegalAccessException is thrown when an application tries
to reflectively create an instance (other than an array),
set or get a field, or invoke a method, but the currently
executing method does not have access to the definition of
the specified class, field, method or constructor.
|
class |
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or
inappropriate argument.
|
class |
IllegalMonitorStateException
Thrown to indicate that a thread has attempted to wait on an
object's monitor or to notify other threads waiting on an object's
monitor without owning the specified monitor.
|
class |
IllegalStateException
Signals that a method has been invoked at an illegal or
inappropriate time.
|
class |
IncompatibleClassChangeError
Thrown when an incompatible class change has occurred to some class
definition.
|
class |
IndexOutOfBoundsException
Thrown to indicate that an index of some sort (such as to an array, to a
string, or to a vector) is out of range.
|
class |
InstantiationException
Thrown when an application tries to create an instance of a class
using the
newInstance method in class
Class, but the specified class object cannot be
instantiated. |
class |
Integer
The
Integer class wraps a value of the primitive type
int in an object. |
class |
InternalError
Thrown to indicate some unexpected internal error has occurred in
the Java Virtual Machine.
|
class |
InterruptedException
Thrown when a thread is waiting, sleeping, or otherwise occupied,
and the thread is interrupted, either before or during the activity.
|
class |
LinkageError
Subclasses of
LinkageError indicate that a class has
some dependency on another class; however, the latter class has
incompatibly changed after the compilation of the former class. |
class |
Long
The
Long class wraps a value of the primitive type long in an object. |
class |
Math
The class
Math contains methods for performing basic
numeric operations such as the elementary exponential, logarithm,
square root, and trigonometric functions. |
class |
NegativeArraySizeException
Thrown if an application tries to create an array with negative size.
|
class |
NoSuchFieldError
Thrown if an application tries to access or modify a specified
field of an object, and that object no longer has that field.
|
class |
NoSuchMethodError
Thrown if an application tries to call a specified method of a
class (either static or instance), and that class no longer has a
definition of that method.
|
class |
NoSuchMethodException
Thrown when a particular method cannot be found.
|
class |
NullPointerException
Thrown when an application attempts to use
null in a
case where an object is required. |
class |
Number
The abstract class
Number is the superclass of classes
BigDecimal, BigInteger,
Byte, Double, Float,
Integer, Long, and Short. |
class |
NumberFormatException
Thrown to indicate that the application has attempted to convert
a string to one of the numeric types, but that the string does not
have the appropriate format.
|
class |
OutOfMemoryError
Thrown when the Java Virtual Machine cannot allocate an object
because it is out of memory, and no more memory could be made
available by the garbage collector.
|
class |
Package
Package objects contain version information
about the implementation and specification of a Java package. |
class |
ReflectiveOperationException
Common superclass of exceptions thrown by reflective operations in
core reflection.
|
class |
RuntimeException
RuntimeException is the superclass of those
exceptions that can be thrown during the normal operation of the
Java Virtual Machine. |
class |
SecurityException
Thrown by the security manager to indicate a security violation.
|
class |
Short
The
Short class wraps a value of primitive type short in an object. |
class |
StackOverflowError
Thrown when a stack overflow occurs because an application
recurses too deeply.
|
class |
StackTraceElement
An element in a stack trace, as returned by
Throwable.getStackTrace(). |
class |
String
The
String class represents character strings. |
class |
StringBuffer
A thread-safe, mutable sequence of characters.
|
class |
StringBuilder
A mutable sequence of characters.
|
class |
StringIndexOutOfBoundsException
Thrown by
String methods to indicate that an index
is either negative or greater than the size of the string. |
class |
System
Poor man's re-implementation of most important System methods.
|
class |
Thread
A thread is a thread of execution in a program.
|
class |
ThreadLocal<T>
This class provides thread-local variables.
|
class |
Throwable
The
Throwable class is the superclass of all errors and
exceptions in the Java language. |
class |
UnsupportedOperationException
Thrown to indicate that the requested operation is not supported.
|
class |
VirtualMachineError
Thrown to indicate that the Java Virtual Machine is broken or has
run out of resources necessary for it to continue operating.
|
class |
Void
The
Void class is an uninstantiable placeholder class to hold a
reference to the Class object representing the Java keyword
void. |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
Thread.clone()
Throws CloneNotSupportedException as a Thread can not be meaningfully
cloned.
|
protected Object |
Object.clone()
Creates and returns a copy of this object.
|
protected Object |
Enum.clone()
Throws CloneNotSupportedException.
|
protected Object |
ClassLoader.getClassLoadingLock(String className)
Returns the lock object for class loading operations.
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
StringBuilder.append(Object obj) |
StringBuffer |
StringBuffer.append(Object obj) |
static void |
System.arraycopy(Object value,
int srcBegin,
Object dst,
int dstBegin,
int count) |
T |
Class.cast(Object obj)
Casts an object to the class or interface represented
by this
Class object. |
boolean |
String.equals(Object anObject)
Compares this string to the specified object.
|
boolean |
StackTraceElement.equals(Object obj)
Returns true if the specified object is another
StackTraceElement instance representing the same execution
point as this instance. |
boolean |
Short.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Object.equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
boolean |
Long.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Integer.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Float.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Enum.equals(Object other)
Returns true if the specified object is equal to this
enum constant.
|
boolean |
Double.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Class.equals(Object obj) |
boolean |
Character.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Character.Subset.equals(Object obj)
Compares two
Subset objects for equality. |
boolean |
Byte.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Boolean.equals(Object obj)
Returns
true if and only if the argument is not
null and is a Boolean object that
represents the same boolean value as this object. |
static String |
String.format(Locale l,
String format,
Object... args)
Returns a formatted string using the specified locale, format string,
and arguments.
|
static String |
String.format(String format,
Object... args)
Returns a formatted string using the specified format string and
arguments.
|
static boolean |
Thread.holdsLock(Object obj)
Returns true if and only if the current thread holds the
monitor lock on the specified object.
|
static int |
System.identityHashCode(Object obj) |
StringBuilder |
StringBuilder.insert(int offset,
Object obj) |
StringBuffer |
StringBuffer.insert(int offset,
Object obj) |
boolean |
Class.isInstance(Object obj)
Determines if the specified
Object is assignment-compatible
with the object represented by this Class. |
protected void |
ClassLoader.setSigners(Class<?> c,
Object[] signers)
Sets the signers of a class.
|
static String |
String.valueOf(Object obj)
Returns the string representation of the
Object argument. |
| Constructor and Description |
|---|
AssertionError(Object detailMessage)
Constructs an AssertionError with its detail message derived
from the specified object, which is converted to a string as
defined in section 15.18.1.1 of
The Java™ Language Specification.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotationFormatError
Thrown when the annotation parser attempts to read an annotation
from a class file and determines that the annotation is malformed.
|
class |
AnnotationTypeMismatchException
Thrown to indicate that a program has attempted to access an element of
an annotation whose type has changed after the annotation was compiled
(or serialized).
|
class |
IncompleteAnnotationException
Thrown to indicate that a program has attempted to access an element of
an annotation type that was added to the annotation type definition after
the annotation was compiled (or serialized).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Annotation.equals(Object obj)
Returns true if the specified object represents an annotation
that is logically equivalent to this one.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CallSite
|
class |
LambdaMetafactory
Methods to facilitate the creation of simple "function objects" that
implement one or more interfaces by delegation to a provided
MethodHandle,
possibly after type adaptation and partial evaluation of arguments. |
class |
MethodHandle
A method handle is a typed, directly executable reference to an underlying method,
constructor, field, or similar low-level operation, with optional
transformations of arguments or return values.
|
class |
MethodHandles
This class consists exclusively of static methods that operate on or return
method handles.
|
static class |
MethodHandles.Lookup
A lookup object is a factory for creating method handles,
when the creation requires access checking.
|
class |
MethodType
A method type represents the arguments and return type accepted and
returned by a method handle, or the arguments and return type passed
and expected by a method handle caller.
|
class |
SerializedLambda
Serialized form of a lambda expression.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
SerializedLambda.getCapturedArg(int i)
Get a dynamic argument to the lambda capture site.
|
Object |
MethodHandle.invoke(Object... args)
Invokes the method handle, allowing any caller type descriptor,
and optionally performing conversions on arguments and return values.
|
Object |
MethodHandle.invokeExact(Object... args)
Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match.
|
Object |
MethodHandle.invokeWithArguments(List<?> arguments)
Performs a variable arity invocation, passing the arguments in the given array
to the method handle, as if via an inexact
invoke from a call site
which mentions only the type Object, and whose arity is the length
of the argument array. |
Object |
MethodHandle.invokeWithArguments(Object... arguments)
Performs a variable arity invocation, passing the arguments in the given list
to the method handle, as if via an inexact
invoke from a call site
which mentions only the type Object, and whose arity is the length
of the argument list. |
| Modifier and Type | Method and Description |
|---|---|
static CallSite |
LambdaMetafactory.altMetafactory(MethodHandles.Lookup caller,
String invokedName,
MethodType invokedType,
Object... args)
Facilitates the creation of simple "function objects" that implement one
or more interfaces by delegation to a provided
MethodHandle,
after appropriate type adaptation and partial evaluation of arguments. |
MethodHandle |
MethodHandles.Lookup.bind(Object receiver,
String name,
MethodType type)
Produces an early-bound method handle for a non-static method.
|
MethodHandle |
MethodHandle.bindTo(Object x)
Binds a value
x to the first argument of a method handle, without invoking it. |
boolean |
MethodType.equals(Object x)
Compares the specified object with this type for equality.
|
Object |
MethodHandle.invoke(Object... args)
Invokes the method handle, allowing any caller type descriptor,
and optionally performing conversions on arguments and return values.
|
Object |
MethodHandle.invokeExact(Object... args)
Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match.
|
Object |
MethodHandle.invokeWithArguments(Object... arguments)
Performs a variable arity invocation, passing the arguments in the given list
to the method handle, as if via an inexact
invoke from a call site
which mentions only the type Object, and whose arity is the length
of the argument list. |
| Constructor and Description |
|---|
SerializedLambda(Class<?> capturingClass,
String functionalInterfaceClass,
String functionalInterfaceMethodName,
String functionalInterfaceMethodSignature,
int implMethodKind,
String implClass,
String implMethodName,
String implMethodSignature,
String instantiatedMethodType,
Object[] capturedArgs)
Create a
SerializedLambda from the low-level information present
at the lambda factory site. |
| Modifier and Type | Class and Description |
|---|---|
class |
PhantomReference<T>
Phantom reference objects, which are enqueued after the collector
determines that their referents may otherwise be reclaimed.
|
class |
Reference<T>
Abstract base class for reference objects.
|
class |
ReferenceQueue<T>
Reference queues, to which registered reference objects are appended by the
garbage collector after the appropriate reachability changes are detected.
|
class |
SoftReference<T>
Soft reference objects, which are cleared at the discretion of the garbage
collector in response to memory demand.
|
class |
WeakReference<T>
Weak reference objects, which do not prevent their referents from being
made finalizable, finalized, and then reclaimed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccessibleObject
The AccessibleObject class is the base class for Field, Method and
Constructor objects.
|
class |
Array
The
Array class provides static methods to dynamically create and
access Java arrays. |
class |
Constructor<T>
Constructor provides information about, and access to, a single
constructor for a class. |
class |
Field
A
Field provides information about, and dynamic access to, a
single field of a class or an interface. |
class |
InvocationTargetException
InvocationTargetException is a checked exception that wraps
an exception thrown by an invoked method or constructor.
|
class |
Method
A
Method provides information about, and access to, a single method
on a class or interface. |
class |
Modifier
The Modifier class provides
static methods and
constants to decode class and member access modifiers. |
class |
Proxy
Proxy provides static methods for creating dynamic proxy
classes and instances, and it is also the superclass of all
dynamic proxy classes created by those methods. |
class |
UndeclaredThrowableException
Thrown by a method invocation on a proxy instance if its invocation
handler's
invoke method throws a
checked exception (a Throwable that is not assignable
to RuntimeException or Error) that
is not assignable to any of the exception types declared in the
throws clause of the method that was invoked on the
proxy instance and dispatched to the invocation handler. |
| Modifier and Type | Method and Description |
|---|---|
Object |
Field.get(Object obj)
Returns the value of the field represented by this
Field, on
the specified object. |
static Object |
Array.get(Object array,
int index)
Returns the value of the indexed component in the specified
array object.
|
Object |
Method.getDefaultValue()
Returns the default value for the annotation member represented by
this
Method instance. |
Object |
InvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns
the result.
|
Object |
Method.invoke(Object obj,
Object... args)
Invokes the underlying method represented by this
Method
object, on the specified object with the specified parameters. |
static Object |
Array.newInstance(Class<?> componentType,
int... dimensions)
Creates a new array
with the specified component type and dimensions.
|
static Object |
Array.newInstance(Class<?> componentType,
int length)
Creates a new array with the specified component type and
length.
|
static Object |
Proxy.newProxyInstance(ClassLoader loader,
Class<?>[] interfaces,
InvocationHandler h)
Returns an instance of a proxy class for the specified interfaces
that dispatches method invocations to the specified invocation
handler.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Method.equals(Object obj)
Compares this
Method against the specified object. |
boolean |
Field.equals(Object obj)
Compares this
Field against the specified object. |
boolean |
Constructor.equals(Object obj)
Compares this
Constructor against the specified object. |
Object |
Field.get(Object obj)
Returns the value of the field represented by this
Field, on
the specified object. |
static Object |
Array.get(Object array,
int index)
Returns the value of the indexed component in the specified
array object.
|
boolean |
Field.getBoolean(Object obj)
Gets the value of a static or instance
boolean field. |
static boolean |
Array.getBoolean(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
boolean. |
byte |
Field.getByte(Object obj)
Gets the value of a static or instance
byte field. |
static byte |
Array.getByte(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
byte. |
char |
Field.getChar(Object obj)
Gets the value of a static or instance field of type
char or of another primitive type convertible to
type char via a widening conversion. |
static char |
Array.getChar(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
char. |
double |
Field.getDouble(Object obj)
Gets the value of a static or instance field of type
double or of another primitive type convertible to
type double via a widening conversion. |
static double |
Array.getDouble(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
double. |
float |
Field.getFloat(Object obj)
Gets the value of a static or instance field of type
float or of another primitive type convertible to
type float via a widening conversion. |
static float |
Array.getFloat(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
float. |
int |
Field.getInt(Object obj)
Gets the value of a static or instance field of type
int or of another primitive type convertible to
type int via a widening conversion. |
static int |
Array.getInt(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as an
int. |
static InvocationHandler |
Proxy.getInvocationHandler(Object proxy)
Returns the invocation handler for the specified proxy instance.
|
static int |
Array.getLength(Object array)
Returns the length of the specified array object, as an
int. |
long |
Field.getLong(Object obj)
Gets the value of a static or instance field of type
long or of another primitive type convertible to
type long via a widening conversion. |
static long |
Array.getLong(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
long. |
short |
Field.getShort(Object obj)
Gets the value of a static or instance field of type
short or of another primitive type convertible to
type short via a widening conversion. |
static short |
Array.getShort(Object array,
int index)
Returns the value of the indexed component in the specified
array object, as a
short. |
Object |
InvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns
the result.
|
Object |
InvocationHandler.invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns
the result.
|
Object |
Method.invoke(Object obj,
Object... args)
Invokes the underlying method represented by this
Method
object, on the specified object with the specified parameters. |
Object |
Method.invoke(Object obj,
Object... args)
Invokes the underlying method represented by this
Method
object, on the specified object with the specified parameters. |
T |
Constructor.newInstance(Object... initargs)
Uses the constructor represented by this
Constructor object to
create and initialize a new instance of the constructor's
declaring class, with the specified initialization parameters. |
static void |
Array.set(Object array,
int index,
Object value)
Sets the value of the indexed component of the specified array
object to the specified new value.
|
void |
Field.set(Object obj,
Object value)
Sets the field represented by this
Field object on the
specified object argument to the specified new value. |
void |
Field.setBoolean(Object obj,
boolean z)
Sets the value of a field as a
boolean on the specified object. |
static void |
Array.setBoolean(Object array,
int index,
boolean z)
Sets the value of the indexed component of the specified array
object to the specified
boolean value. |
void |
Field.setByte(Object obj,
byte b)
Sets the value of a field as a
byte on the specified object. |
static void |
Array.setByte(Object array,
int index,
byte b)
Sets the value of the indexed component of the specified array
object to the specified
byte value. |
void |
Field.setChar(Object obj,
char c)
Sets the value of a field as a
char on the specified object. |
static void |
Array.setChar(Object array,
int index,
char c)
Sets the value of the indexed component of the specified array
object to the specified
char value. |
void |
Field.setDouble(Object obj,
double d)
Sets the value of a field as a
double on the specified object. |
static void |
Array.setDouble(Object array,
int index,
double d)
Sets the value of the indexed component of the specified array
object to the specified
double value. |
void |
Field.setFloat(Object obj,
float f)
Sets the value of a field as a
float on the specified object. |
static void |
Array.setFloat(Object array,
int index,
float f)
Sets the value of the indexed component of the specified array
object to the specified
float value. |
void |
Field.setInt(Object obj,
int i)
Sets the value of a field as an
int on the specified object. |
static void |
Array.setInt(Object array,
int index,
int i)
Sets the value of the indexed component of the specified array
object to the specified
int value. |
static void |
Array.setLong(Object array,
int index,
long l)
Sets the value of the indexed component of the specified array
object to the specified
long value. |
void |
Field.setLong(Object obj,
long l)
Sets the value of a field as a
long on the specified object. |
static void |
Array.setShort(Object array,
int index,
short s)
Sets the value of the indexed component of the specified array
object to the specified
short value. |
void |
Field.setShort(Object obj,
short s)
Sets the value of a field as a
short on the specified object. |
| Modifier and Type | Class and Description |
|---|---|
class |
BigDecimal
Immutable, arbitrary-precision signed decimal numbers.
|
class |
BigInteger
Immutable arbitrary-precision integers.
|
class |
MathContext
Immutable objects which encapsulate the context settings which
describe certain rules for numerical operators, such as those
implemented by the
BigDecimal class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MathContext.equals(Object x)
Compares this
MathContext with the specified
Object for equality. |
boolean |
BigInteger.equals(Object x)
Compares this BigInteger with the specified Object for equality.
|
boolean |
BigDecimal.equals(Object x)
Compares this
BigDecimal with the specified
Object for equality. |
| Modifier and Type | Class and Description |
|---|---|
class |
MalformedURLException
Thrown to indicate that a malformed URL has occurred.
|
class |
URI
Represents a Uniform Resource Identifier (URI) reference.
|
class |
URISyntaxException
Checked exception thrown to indicate that a string could not be parsed as a
URI reference.
|
class |
URL
Class
URL represents a Uniform Resource
Locator, a pointer to a "resource" on the World
Wide Web. |
class |
URLConnection
The abstract class
URLConnection is the superclass
of all classes that represent a communications link between the
application and a URL. |
class |
URLStreamHandler
The abstract class
URLStreamHandler is the common
superclass for all stream protocol handlers. |
| Modifier and Type | Method and Description |
|---|---|
Object |
URLConnection.getContent()
Retrieves the contents of this URL connection.
|
Object |
URL.getContent()
Gets the contents of this URL.
|
Object |
URLConnection.getContent(Class[] classes)
Retrieves the contents of this URL connection.
|
Object |
URL.getContent(Class[] classes)
Gets the contents of this URL.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
URL.equals(Object obj)
Compares this URL for equality with another object.
|
boolean |
URI.equals(Object ob)
Tests this URI for equality with another object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CharBuffer |
| Modifier and Type | Class and Description |
|---|---|
class |
Charset
A named mapping between sequences of sixteen-bit Unicode code units and sequences of
bytes.
|
class |
CharsetDecoder
An engine that can transform a sequence of bytes in a specific charset into a sequence of
sixteen-bit Unicode characters.
|
class |
CharsetEncoder
An engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of
bytes in a specific charset.
|
class |
IllegalCharsetNameException
Unchecked exception thrown when a string that is not a
legal charset name is used as such.
|
class |
UnsupportedCharsetException
Unchecked exception thrown when no support is available
for a requested charset.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Charset.equals(Object ob)
Tells whether or not this object is equal to another.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccessControlContext |
class |
AccessController
The AccessController class is used for access control operations
and decisions.
|
class |
PrivilegedActionException
This exception is thrown by
doPrivileged(PrivilegedExceptionAction) and
doPrivileged(PrivilegedExceptionAction,
AccessControlContext context) to indicate
that the action being performed threw a checked exception. |
| Modifier and Type | Class and Description |
|---|---|
class |
Annotation
An Annotation object is used as a wrapper for a text attribute value if
the attribute has annotation characteristics.
|
static class |
AttributedCharacterIterator.Attribute
Defines attribute keys that are used to identify text attributes.
|
class |
AttributedString
An AttributedString holds text and related attribute information.
|
class |
ChoiceFormat
A
ChoiceFormat allows you to attach a format to a range of numbers. |
class |
DateFormat
DateFormat is an abstract class for date/time formatting subclasses which
formats and parses dates or time in a language-independent manner. |
static class |
DateFormat.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from DateFormat.formatToCharacterIterator and as
field identifiers in FieldPosition. |
class |
DateFormatSymbols
DateFormatSymbols is a public class for encapsulating
localizable date-time formatting data, such as the names of the
months, the names of the days of the week, and the time zone data. |
class |
DecimalFormat
DecimalFormat is a concrete subclass of
NumberFormat that formats decimal numbers. |
class |
DecimalFormatSymbols
This class represents the set of symbols (such as the decimal separator,
the grouping separator, and so on) needed by
DecimalFormat
to format numbers. |
class |
FieldPosition
FieldPosition is a simple class used by Format
and its subclasses to identify fields in formatted output. |
class |
Format
Format is an abstract base class for formatting locale-sensitive
information such as dates, messages, and numbers. |
static class |
Format.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from Format.formatToCharacterIterator and as
field identifiers in FieldPosition. |
class |
MessageFormat
MessageFormat provides a means to produce concatenated
messages in a language-neutral way. |
static class |
MessageFormat.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from MessageFormat.formatToCharacterIterator. |
class |
NumberFormat
NumberFormat is the abstract base class for all number
formats. |
static class |
NumberFormat.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from NumberFormat.formatToCharacterIterator and as
field identifiers in FieldPosition. |
class |
ParseException
Signals that an error has been reached unexpectedly
while parsing.
|
class |
ParsePosition
ParsePosition is a simple class used by Format
and its subclasses to keep track of the current position during parsing. |
class |
SimpleDateFormat
SimpleDateFormat is a concrete class for formatting and
parsing dates in a locale-sensitive manner. |
| Modifier and Type | Method and Description |
|---|---|
Object |
SimpleDateFormat.clone()
Creates a copy of this
SimpleDateFormat. |
Object |
NumberFormat.clone()
Overrides Cloneable
|
Object |
MessageFormat.clone()
Creates and returns a copy of this object.
|
Object |
Format.clone()
Creates and returns a copy of this object.
|
Object |
DecimalFormatSymbols.clone()
Standard override.
|
Object |
DecimalFormat.clone()
Standard override; no change in semantics.
|
Object |
DateFormatSymbols.clone()
Overrides Cloneable
|
Object |
DateFormat.clone()
Overrides Cloneable
|
Object |
ChoiceFormat.clone()
Overrides Cloneable
|
Object |
CharacterIterator.clone()
Create a copy of this iterator
|
Object |
AttributedCharacterIterator.getAttribute(AttributedCharacterIterator.Attribute attribute)
Returns the value of the named
attribute for the current character. |
Object[] |
ChoiceFormat.getFormats()
Get the formats passed in the constructor.
|
Object |
Annotation.getValue()
Returns the value of the attribute, which may be null.
|
Object[] |
MessageFormat.parse(String source)
Parses text from the beginning of the given string to produce an object
array.
|
Object[] |
MessageFormat.parse(String source,
ParsePosition pos)
Parses the string.
|
Object |
Format.parseObject(String source)
Parses text from the beginning of the given string to produce an object.
|
Object |
NumberFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Number. |
Object |
MessageFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object array.
|
abstract Object |
Format.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object.
|
Object |
DateFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Date. |
protected Object |
NumberFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants.
|
protected Object |
MessageFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants.
|
protected Object |
DateFormat.Field.readResolve()
Resolves instances being deserialized to the predefined constants.
|
protected Object |
AttributedCharacterIterator.Attribute.readResolve()
Resolves instances being deserialized to the predefined constants.
|
| Modifier and Type | Method and Description |
|---|---|
Map<AttributedCharacterIterator.Attribute,Object> |
AttributedCharacterIterator.getAttributes()
Returns a map with the attributes defined on the current
character.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AttributedString.addAttribute(AttributedCharacterIterator.Attribute attribute,
Object value)
Adds an attribute to the entire string.
|
void |
AttributedString.addAttribute(AttributedCharacterIterator.Attribute attribute,
Object value,
int beginIndex,
int endIndex)
Adds an attribute to a subrange of the string.
|
boolean |
SimpleDateFormat.equals(Object obj)
Compares the given object with this
SimpleDateFormat for
equality. |
boolean |
ParsePosition.equals(Object obj)
Overrides equals
|
boolean |
NumberFormat.equals(Object obj)
Overrides equals
|
boolean |
MessageFormat.equals(Object obj)
Equality comparison between two message format objects
|
boolean |
FieldPosition.equals(Object obj)
Overrides equals
|
boolean |
DecimalFormatSymbols.equals(Object obj)
Override equals.
|
boolean |
DecimalFormat.equals(Object obj)
Overrides equals
|
boolean |
DateFormatSymbols.equals(Object obj)
Override equals
|
boolean |
DateFormat.equals(Object obj)
Overrides equals
|
boolean |
ChoiceFormat.equals(Object obj)
Equality comparision between two
|
boolean |
AttributedCharacterIterator.Attribute.equals(Object obj)
Compares two objects for equality.
|
String |
Format.format(Object obj)
Formats an object to produce a string.
|
StringBuffer |
MessageFormat.format(Object[] arguments,
StringBuffer result,
FieldPosition pos)
Formats an array of objects and appends the
MessageFormat's
pattern, with format elements replaced by the formatted objects, to the
provided StringBuffer. |
StringBuffer |
NumberFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|
StringBuffer |
MessageFormat.format(Object arguments,
StringBuffer result,
FieldPosition pos)
Formats an array of objects and appends the
MessageFormat's
pattern, with format elements replaced by the formatted objects, to the
provided StringBuffer. |
abstract StringBuffer |
Format.format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
Formats an object and appends the resulting text to a given string
buffer.
|
StringBuffer |
DecimalFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|
StringBuffer |
DateFormat.format(Object obj,
StringBuffer toAppendTo,
FieldPosition fieldPosition)
Overrides Format.
|
static String |
MessageFormat.format(String pattern,
Object... arguments)
Creates a MessageFormat with the given pattern and uses it
to format the given arguments.
|
AttributedCharacterIterator |
SimpleDateFormat.formatToCharacterIterator(Object obj)
Formats an Object producing an
AttributedCharacterIterator. |
AttributedCharacterIterator |
MessageFormat.formatToCharacterIterator(Object arguments)
Formats an array of objects and inserts them into the
MessageFormat's pattern, producing an
AttributedCharacterIterator. |
AttributedCharacterIterator |
Format.formatToCharacterIterator(Object obj)
Formats an Object producing an
AttributedCharacterIterator. |
AttributedCharacterIterator |
DecimalFormat.formatToCharacterIterator(Object obj)
Formats an Object producing an
AttributedCharacterIterator. |
| Constructor and Description |
|---|
Annotation(Object value)
Constructs an annotation record with the given value, which
may be null.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCollection<E>
This class provides a skeletal implementation of the Collection
interface, to minimize the effort required to implement this interface.
|
class |
AbstractList<E>
This class provides a skeletal implementation of the
List
interface to minimize the effort required to implement this interface
backed by a "random access" data store (such as an array). |
class |
AbstractMap<K,V>
This class provides a skeletal implementation of the Map
interface, to minimize the effort required to implement this interface.
|
static class |
AbstractMap.SimpleEntry<K,V>
An Entry maintaining a key and a value.
|
static class |
AbstractMap.SimpleImmutableEntry<K,V>
An Entry maintaining an immutable key and value.
|
class |
AbstractQueue<E>
This class provides skeletal implementations of some
Queue
operations. |
class |
AbstractSequentialList<E>
This class provides a skeletal implementation of the List
interface to minimize the effort required to implement this interface
backed by a "sequential access" data store (such as a linked list).
|
class |
AbstractSet<E>
This class provides a skeletal implementation of the Set
interface to minimize the effort required to implement this
interface.
|
class |
ArrayDeque<E>
Resizable-array implementation of the
Deque interface. |
class |
ArrayList<E>
Resizable-array implementation of the List interface.
|
class |
Arrays
This class contains various methods for manipulating arrays (such as
sorting and searching).
|
class |
BitSet
This class implements a vector of bits that grows as needed.
|
class |
Calendar
The
Calendar class is an abstract class that provides methods
for converting between a specific instant in time and a set of calendar fields such as YEAR, MONTH,
DAY_OF_MONTH, HOUR, and so on, and for
manipulating the calendar fields, such as getting the date of the next
week. |
class |
Collections
This class consists exclusively of static methods that operate on or return
collections.
|
class |
ConcurrentModificationException
This exception may be thrown by methods that have detected concurrent
modification of an object when such modification is not permissible.
|
class |
Currency
Represents a currency.
|
class |
Date
The class
Date represents a specific instant
in time, with millisecond precision. |
class |
Dictionary<K,V>
The
Dictionary class is the abstract parent of any
class, such as Hashtable, which maps keys to values. |
class |
DoubleSummaryStatistics
A state object for collecting statistics such as count, min, max, sum, and
average.
|
class |
EmptyStackException
Thrown by methods in the
Stack class to indicate
that the stack is empty. |
class |
EnumMap<K extends Enum<K>,V>
A specialized
Map implementation for use with enum type keys. |
class |
EnumSet<E extends Enum<E>>
A specialized
Set implementation for use with enum types. |
class |
EventListenerProxy<T extends EventListener>
An abstract wrapper class for an
EventListener class
which associates a set of additional parameters with the listener. |
class |
EventObject
The root class from which all event state objects shall be derived.
|
class |
HashMap<K,V>
Hash table based implementation of the Map interface.
|
class |
HashSet<E>
This class implements the Set interface, backed by a hash table
(actually a HashMap instance).
|
class |
Hashtable<K,V>
This class implements a hash table, which maps keys to values.
|
class |
IdentityHashMap<K,V>
This class implements the Map interface with a hash table, using
reference-equality in place of object-equality when comparing keys (and
values).
|
class |
IntSummaryStatistics
A state object for collecting statistics such as count, min, max, sum, and
average.
|
class |
LinkedHashMap<K,V>
Hash table and linked list implementation of the Map interface,
with predictable iteration order.
|
class |
LinkedHashSet<E>
Hash table and linked list implementation of the Set interface,
with predictable iteration order.
|
class |
LinkedList<E>
Doubly-linked list implementation of the
List and Deque
interfaces. |
class |
Locale
A
Locale object represents a specific geographical, political,
or cultural region. |
class |
LongSummaryStatistics
A state object for collecting statistics such as count, min, max, sum, and
average.
|
class |
MissingResourceException
Signals that a resource is missing.
|
class |
NoSuchElementException
Thrown by the
nextElement method of an
Enumeration to indicate that there are no more
elements in the enumeration. |
class |
Objects
This class consists of
static utility methods for operating
on objects. |
class |
Optional<T> |
class |
OptionalDouble
A container object which may or may not contain a
double value. |
class |
OptionalInt
A container object which may or may not contain a
int value. |
class |
OptionalLong
A container object which may or may not contain a
long value. |
class |
PriorityQueue<E>
An unbounded priority queue based on a priority heap.
|
class |
Properties
The
Properties class represents a persistent set of
properties. |
class |
PropertyResourceBundle
PropertyResourceBundle is a concrete subclass of
ResourceBundle that manages resources for a locale
using a set of static strings from a property file. |
class |
Random
An instance of this class is used to generate a stream of
pseudorandom numbers.
|
class |
ResourceBundle
Resource bundles contain locale-specific objects.
|
static class |
ResourceBundle.Control
ResourceBundle.Control defines a set of callback methods
that are invoked by the ResourceBundle.getBundle factory
methods during the bundle loading process. |
class |
ServiceConfigurationError
Error thrown when something goes wrong while loading a service provider.
|
class |
ServiceLoader<S>
A simple service-provider loading facility.
|
class |
SimpleTimeZone
SimpleTimeZone is a concrete subclass of TimeZone
that represents a time zone for use with a Gregorian calendar. |
class |
Spliterators
Static classes and methods for operating on or creating instances of
Spliterator and its primitive specializations
Spliterator.OfInt, Spliterator.OfLong, and
Spliterator.OfDouble. |
static class |
Spliterators.AbstractDoubleSpliterator
An abstract
Spliterator.OfDouble that implements
trySplit to permit limited parallelism. |
static class |
Spliterators.AbstractIntSpliterator
An abstract
Spliterator.OfInt that implements trySplit to
permit limited parallelism. |
static class |
Spliterators.AbstractLongSpliterator
An abstract
Spliterator.OfLong that implements trySplit
to permit limited parallelism. |
static class |
Spliterators.AbstractSpliterator<T>
An abstract
Spliterator that implements trySplit to
permit limited parallelism. |
class |
Stack<E>
The
Stack class represents a last-in-first-out
(LIFO) stack of objects. |
class |
StringJoiner
StringJoiner is used to construct a sequence of characters separated
by a delimiter and optionally starting with a supplied prefix
and ending with a supplied suffix. |
class |
StringTokenizer
The string tokenizer class allows an application to break a
string into tokens.
|
class |
Timer
A facility for threads to schedule tasks for future execution in a
background thread.
|
class |
TimerTask
A task that can be scheduled for one-time or repeated execution by a Timer.
|
class |
TimeZone
TimeZone represents a time zone offset, and also figures out daylight
savings. |
class |
TreeMap<K,V>
A Red-Black tree based
NavigableMap implementation. |
class |
TreeSet<E>
A
NavigableSet implementation based on a TreeMap. |
class |
Vector<E>
The
Vector class implements a growable array of
objects. |
class |
WeakHashMap<K,V>
Hash table based implementation of the Map interface, with
weak keys.
|
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
Vector.elementData
The array buffer into which the components of the vector are
stored.
|
protected Object |
EventObject.source
The object on which the Event initially occurred.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Object & Comparable<? super T>> |
Collections.max(Collection<? extends T> coll)
Returns the maximum element of the given collection, according to the
natural ordering of its elements.
|
static <T extends Object & Comparable<? super T>> |
Collections.min(Collection<? extends T> coll)
Returns the minimum element of the given collection, according to the
natural ordering of its elements.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Vector.clone()
Returns a clone of this vector.
|
Object |
TreeSet.clone()
Returns a shallow copy of this
TreeSet instance. |
Object |
TreeMap.clone()
Returns a shallow copy of this
TreeMap instance. |
Object |
TimeZone.clone()
Creates a copy of this
TimeZone. |
Object |
SimpleTimeZone.clone()
Returns a clone of this
SimpleTimeZone instance. |
Object |
Locale.clone()
Overrides Cloneable.
|
Object |
LinkedList.clone()
Returns a shallow copy of this
LinkedList. |
Object |
IdentityHashMap.clone()
Returns a shallow copy of this identity hash map: the keys and values
themselves are not cloned.
|
Object |
Hashtable.clone()
Creates a shallow copy of this hashtable.
|
Object |
HashSet.clone()
Returns a shallow copy of this HashSet instance: the elements
themselves are not cloned.
|
Object |
HashMap.clone()
Returns a shallow copy of this HashMap instance: the keys and
values themselves are not cloned.
|
Object |
Date.clone()
Return a copy of this object.
|
Object |
Calendar.clone()
Creates and returns a copy of this object.
|
Object |
BitSet.clone()
Cloning this
BitSet produces a new BitSet
that is equal to it. |
Object |
ArrayList.clone()
Returns a shallow copy of this ArrayList instance.
|
protected Object |
AbstractMap.clone()
Returns a shallow copy of this AbstractMap instance: the keys
and values themselves are not cloned.
|
static <T> T[] |
Arrays.copyOf(T[] original,
int newLength)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
|
static <T,U> T[] |
Arrays.copyOf(U[] original,
int newLength,
Class<? extends T[]> newType)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
|
static <T> T[] |
Arrays.copyOfRange(T[] original,
int from,
int to)
Copies the specified range of the specified array into a new array.
|
static <T,U> T[] |
Arrays.copyOfRange(U[] original,
int from,
int to,
Class<? extends T[]> newType)
Copies the specified range of the specified array into a new array.
|
Object |
ResourceBundle.getObject(String key)
Gets an object for the given key from this resource bundle or one of its parents.
|
Object |
EventObject.getSource()
The object on which the Event initially occurred.
|
protected abstract Object |
ResourceBundle.handleGetObject(String key)
Gets an object for the given key from this resource bundle.
|
Object |
PropertyResourceBundle.handleGetObject(String key) |
Object |
StringTokenizer.nextElement()
Returns the same value as the
nextToken method,
except that its declared return value is Object rather than
String. |
Object |
Properties.setProperty(String key,
String value)
Calls the Hashtable method
put. |
Object[] |
Vector.toArray()
Returns an array containing all of the elements in this Vector
in the correct order.
|
Object[] |
Set.toArray()
Returns an array containing all of the elements in this set.
|
Object[] |
PriorityQueue.toArray()
Returns an array containing all of the elements in this queue.
|
Object[] |
List.toArray()
Returns an array containing all of the elements in this list in proper
sequence (from first to last element).
|
Object[] |
LinkedList.toArray()
Returns an array containing all of the elements in this list
in proper sequence (from first to last element).
|
Object[] |
Collection.toArray()
Returns an array containing all of the elements in this collection.
|
Object[] |
ArrayList.toArray()
Returns an array containing all of the elements in this list
in proper sequence (from first to last element).
|
Object[] |
ArrayDeque.toArray()
Returns an array containing all of the elements in this deque
in proper sequence (from first to last element).
|
Object[] |
AbstractCollection.toArray()
Returns an array containing all of the elements in this collection.
|
<T> T[] |
Vector.toArray(T[] a)
Returns an array containing all of the elements in this Vector in the
correct order; the runtime type of the returned array is that of the
specified array.
|
<T> T[] |
Set.toArray(T[] a)
Returns an array containing all of the elements in this set; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
PriorityQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
List.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
<T> T[] |
LinkedList.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
<T> T[] |
Collection.toArray(T[] a)
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
|
<T> T[] |
ArrayList.toArray(T[] a)
Returns an array containing all of the elements in this list in proper
sequence (from first to last element); the runtime type of the returned
array is that of the specified array.
|
<T> T[] |
ArrayDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque in
proper sequence (from first to last element); the runtime type of the
returned array is that of the specified array.
|
<T> T[] |
AbstractCollection.toArray(T[] a)
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
Collections.addAll(Collection<? super T> c,
T... elements)
Adds all of the specified elements to the specified collection.
|
boolean |
Calendar.after(Object when)
Returns whether this
Calendar represents a time
after the time represented by the specified
Object. |
static <T> List<T> |
Arrays.asList(T... a)
Returns a fixed-size list backed by the specified array.
|
boolean |
Calendar.before(Object when)
Returns whether this
Calendar represents a time
before the time represented by the specified
Object. |
static int |
Arrays.binarySearch(Object[] a,
int fromIndex,
int toIndex,
Object key)
Searches a range of
the specified array for the specified object using the binary
search algorithm.
|
static int |
Arrays.binarySearch(Object[] a,
int fromIndex,
int toIndex,
Object key)
Searches a range of
the specified array for the specified object using the binary
search algorithm.
|
static int |
Arrays.binarySearch(Object[] a,
Object key)
Searches the specified array for the specified object using the binary
search algorithm.
|
static int |
Arrays.binarySearch(Object[] a,
Object key)
Searches the specified array for the specified object using the binary
search algorithm.
|
static <T> int |
Arrays.binarySearch(T[] a,
int fromIndex,
int toIndex,
T key,
Comparator<? super T> c)
Searches a range of
the specified array for the specified object using the binary
search algorithm.
|
static <T> int |
Arrays.binarySearch(T[] a,
T key,
Comparator<? super T> c)
Searches the specified array for the specified object using the binary
search algorithm.
|
boolean |
Vector.contains(Object o)
Returns
true if this vector contains the specified element. |
boolean |
TreeSet.contains(Object o)
Returns
true if this set contains the specified element. |
boolean |
Set.contains(Object o)
Returns true if this set contains the specified element.
|
boolean |
PriorityQueue.contains(Object o)
Returns
true if this queue contains the specified element. |
boolean |
List.contains(Object o)
Returns true if this list contains the specified element.
|
boolean |
LinkedList.contains(Object o)
Returns
true if this list contains the specified element. |
boolean |
Hashtable.contains(Object value)
Tests if some key maps into the specified value in this hashtable.
|
boolean |
HashSet.contains(Object o)
Returns true if this set contains the specified element.
|
boolean |
Deque.contains(Object o)
Returns true if this deque contains the specified element.
|
boolean |
Collection.contains(Object o)
Returns true if this collection contains the specified element.
|
boolean |
ArrayList.contains(Object o)
Returns true if this list contains the specified element.
|
boolean |
ArrayDeque.contains(Object o)
Returns true if this deque contains the specified element.
|
boolean |
AbstractCollection.contains(Object o)
Returns true if this collection contains the specified element.
|
boolean |
WeakHashMap.containsKey(Object key)
Returns true if this map contains a mapping for the
specified key.
|
boolean |
TreeMap.containsKey(Object key)
Returns
true if this map contains a mapping for the specified
key. |
boolean |
Map.containsKey(Object key)
Returns true if this map contains a mapping for the specified
key.
|
boolean |
IdentityHashMap.containsKey(Object key)
Tests whether the specified object reference is a key in this identity
hash map.
|
boolean |
Hashtable.containsKey(Object key)
Tests if the specified object is a key in this hashtable.
|
boolean |
HashMap.containsKey(Object key)
Returns true if this map contains a mapping for the
specified key.
|
boolean |
EnumMap.containsKey(Object key)
Returns true if this map contains a mapping for the specified
key.
|
boolean |
AbstractMap.containsKey(Object key)
Returns true if this map contains a mapping for the specified
key.
|
boolean |
WeakHashMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
TreeMap.containsValue(Object value)
Returns
true if this map maps one or more keys to the
specified value. |
boolean |
Map.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
LinkedHashMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
IdentityHashMap.containsValue(Object value)
Tests whether the specified object reference is a value in this identity
hash map.
|
boolean |
Hashtable.containsValue(Object value)
Returns true if this hashtable maps one or more keys to this value.
|
boolean |
HashMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
EnumMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
AbstractMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
void |
Vector.copyInto(Object[] anArray)
Copies the components of this vector into the specified array.
|
static <T> T[] |
Arrays.copyOf(T[] original,
int newLength)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
|
static <T,U> T[] |
Arrays.copyOf(U[] original,
int newLength,
Class<? extends T[]> newType)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
|
static <T> T[] |
Arrays.copyOfRange(T[] original,
int from,
int to)
Copies the specified range of the specified array into a new array.
|
static <T,U> T[] |
Arrays.copyOfRange(U[] original,
int from,
int to,
Class<? extends T[]> newType)
Copies the specified range of the specified array into a new array.
|
static boolean |
Arrays.deepEquals(Object[] a1,
Object[] a2)
Returns true if the two specified arrays are deeply
equal to one another.
|
static boolean |
Arrays.deepEquals(Object[] a1,
Object[] a2)
Returns true if the two specified arrays are deeply
equal to one another.
|
static boolean |
Objects.deepEquals(Object a,
Object b)
Returns
true if the arguments are deeply equal to each other
and false otherwise. |
static int |
Arrays.deepHashCode(Object[] a)
Returns a hash code based on the "deep contents" of the specified
array.
|
static String |
Arrays.deepToString(Object[] a)
Returns a string representation of the "deep contents" of the specified
array.
|
boolean |
Vector.equals(Object o)
Compares the specified Object with this Vector for equality.
|
boolean |
SimpleTimeZone.equals(Object obj)
Compares the equality of two
SimpleTimeZone objects. |
boolean |
Set.equals(Object o)
Compares the specified object with this set for equality.
|
boolean |
OptionalLong.equals(Object obj)
Indicates whether some other object is "equal to" this OptionalLong.
|
boolean |
OptionalInt.equals(Object obj)
Indicates whether some other object is "equal to" this OptionalInt.
|
boolean |
OptionalDouble.equals(Object obj)
Indicates whether some other object is "equal to" this OptionalDouble.
|
boolean |
Optional.equals(Object obj)
Indicates whether some other object is "equal to" this
Optional. |
boolean |
Map.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
Map.Entry.equals(Object o)
Compares the specified object with this entry for equality.
|
boolean |
Locale.equals(Object obj) |
boolean |
List.equals(Object o)
Compares the specified object with this list for equality.
|
boolean |
IdentityHashMap.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
Hashtable.equals(Object o)
Compares the specified Object with this Map for equality,
as per the definition in the Map interface.
|
boolean |
EnumMap.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
Date.equals(Object obj)
Compares two dates for equality.
|
boolean |
Comparator.equals(Object obj)
Indicates whether some other object is "equal to" this
comparator.
|
boolean |
Collection.equals(Object o)
Compares the specified object with this collection for equality.
|
boolean |
Calendar.equals(Object obj)
Compares this
Calendar to the specified
Object. |
boolean |
BitSet.equals(Object obj)
Compares this object against the specified object.
|
boolean |
AbstractSet.equals(Object o)
Compares the specified object with this set for equality.
|
boolean |
AbstractMap.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
AbstractMap.SimpleEntry.equals(Object o)
Compares the specified object with this entry for equality.
|
boolean |
AbstractMap.SimpleImmutableEntry.equals(Object o)
Compares the specified object with this entry for equality.
|
boolean |
AbstractList.equals(Object o)
Compares the specified object with this list for equality.
|
static boolean |
Arrays.equals(Object[] a,
Object[] a2)
Returns true if the two specified arrays of Objects are
equal to one another.
|
static boolean |
Arrays.equals(Object[] a,
Object[] a2)
Returns true if the two specified arrays of Objects are
equal to one another.
|
static boolean |
Objects.equals(Object a,
Object b)
Returns
true if the arguments are equal to each other
and false otherwise. |
static void |
Arrays.fill(Object[] a,
int fromIndex,
int toIndex,
Object val)
Assigns the specified Object reference to each element of the specified
range of the specified array of Objects.
|
static void |
Arrays.fill(Object[] a,
int fromIndex,
int toIndex,
Object val)
Assigns the specified Object reference to each element of the specified
range of the specified array of Objects.
|
static void |
Arrays.fill(Object[] a,
Object val)
Assigns the specified Object reference to each element of the specified
array of Objects.
|
static void |
Arrays.fill(Object[] a,
Object val)
Assigns the specified Object reference to each element of the specified
array of Objects.
|
static int |
Collections.frequency(Collection<?> c,
Object o)
Returns the number of elements in the specified collection equal to the
specified object.
|
V |
WeakHashMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
TreeMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
Map.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
LinkedHashMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
IdentityHashMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
Hashtable.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
HashMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
EnumMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
abstract V |
Dictionary.get(Object key)
Returns the value to which the key is mapped in this dictionary.
|
V |
AbstractMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
default V |
Map.getOrDefault(Object key,
V defaultValue)
Returns the value to which the specified key is mapped, or
defaultValue if this map contains no mapping for the key. |
static int |
Objects.hash(Object... values)
Generates a hash code for a sequence of input values.
|
static int |
Objects.hashCode(Object o)
Returns the hash code of a non-
null argument and 0 for
a null argument. |
static int |
Arrays.hashCode(Object[] a)
Returns a hash code based on the contents of the specified array.
|
int |
Vector.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this vector, or -1 if this vector does not contain the element.
|
int |
List.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
LinkedList.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
ArrayList.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
AbstractList.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
Vector.indexOf(Object o,
int index)
Returns the index of the first occurrence of the specified element in
this vector, searching forwards from
index, or returns -1 if
the element is not found. |
static boolean |
Objects.isNull(Object obj)
Returns
true if the provided reference is null otherwise
returns false. |
int |
Vector.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this vector, or -1 if this vector does not contain the element.
|
int |
List.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
LinkedList.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
ArrayList.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
AbstractList.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
Vector.lastIndexOf(Object o,
int index)
Returns the index of the last occurrence of the specified element in
this vector, searching backwards from
index, or returns -1 if
the element is not found. |
static boolean |
Objects.nonNull(Object obj)
Returns
true if the provided reference is non-null
otherwise returns false. |
static <T> void |
Arrays.parallelPrefix(T[] array,
BinaryOperator<T> op)
Cumulates, in parallel, each element of the given array in place,
using the supplied function.
|
static <T> void |
Arrays.parallelPrefix(T[] array,
int fromIndex,
int toIndex,
BinaryOperator<T> op)
Performs
Arrays.parallelPrefix(Object[], BinaryOperator)
for the given subrange of the array. |
static <T> void |
Arrays.parallelSetAll(T[] array,
IntFunction<? extends T> generator)
Set all elements of the specified array, in parallel, using the
provided generator function to compute each element.
|
static <T> void |
Arrays.parallelSort(T[] a,
Comparator<? super T> cmp)
Sorts the specified array of objects according to the order induced by
the specified comparator.
|
static <T> void |
Arrays.parallelSort(T[] a,
int fromIndex,
int toIndex,
Comparator<? super T> cmp)
Sorts the specified range of the specified array of objects according
to the order induced by the specified comparator.
|
V |
WeakHashMap.remove(Object key)
Removes the mapping for a key from this weak hash map if it is present.
|
boolean |
Vector.remove(Object o)
Removes the first occurrence of the specified element in this Vector
If the Vector does not contain the element, it is unchanged.
|
boolean |
TreeSet.remove(Object o)
Removes the specified element from this set if it is present.
|
V |
TreeMap.remove(Object key)
Removes the mapping for this key from this TreeMap if present.
|
boolean |
Set.remove(Object o)
Removes the specified element from this set if it is present
(optional operation).
|
boolean |
PriorityQueue.remove(Object o)
Removes a single instance of the specified element from this queue,
if it is present.
|
V |
Map.remove(Object key)
Removes the mapping for a key from this map if it is present
(optional operation).
|
boolean |
List.remove(Object o)
Removes the first occurrence of the specified element from this list,
if it is present (optional operation).
|
boolean |
LinkedList.remove(Object o)
Removes the first occurrence of the specified element from this list,
if it is present.
|
V |
IdentityHashMap.remove(Object key)
Removes the mapping for this key from this map if present.
|
V |
Hashtable.remove(Object key)
Removes the key (and its corresponding value) from this
hashtable.
|
boolean |
HashSet.remove(Object o)
Removes the specified element from this set if it is present.
|
V |
HashMap.remove(Object key)
Removes the mapping for the specified key from this map if present.
|
V |
EnumMap.remove(Object key)
Removes the mapping for this key from this map if present.
|
abstract V |
Dictionary.remove(Object key)
Removes the
key (and its corresponding
value) from this dictionary. |
boolean |
Deque.remove(Object o)
Removes the first occurrence of the specified element from this deque.
|
boolean |
Collection.remove(Object o)
Removes a single instance of the specified element from this
collection, if it is present (optional operation).
|
boolean |
ArrayList.remove(Object o)
Removes the first occurrence of the specified element from this list,
if it is present.
|
boolean |
ArrayDeque.remove(Object o)
Removes a single instance of the specified element from this deque.
|
V |
AbstractMap.remove(Object key)
Removes the mapping for a key from this map if it is present
(optional operation).
|
boolean |
AbstractCollection.remove(Object o)
Removes a single instance of the specified element from this
collection, if it is present (optional operation).
|
default boolean |
Map.remove(Object key,
Object value)
Removes the entry for the specified key only if it is currently
mapped to the specified value.
|
boolean |
Vector.removeElement(Object obj)
Removes the first (lowest-indexed) occurrence of the argument
from this vector.
|
boolean |
LinkedList.removeFirstOccurrence(Object o)
Removes the first occurrence of the specified element in this
list (when traversing the list from head to tail).
|
boolean |
Deque.removeFirstOccurrence(Object o)
Removes the first occurrence of the specified element from this deque.
|
boolean |
ArrayDeque.removeFirstOccurrence(Object o)
Removes the first occurrence of the specified element in this
deque (when traversing the deque from head to tail).
|
boolean |
LinkedList.removeLastOccurrence(Object o)
Removes the last occurrence of the specified element in this
list (when traversing the list from head to tail).
|
boolean |
Deque.removeLastOccurrence(Object o)
Removes the last occurrence of the specified element from this deque.
|
boolean |
ArrayDeque.removeLastOccurrence(Object o)
Removes the last occurrence of the specified element in this
deque (when traversing the deque from head to tail).
|
int |
Stack.search(Object o)
Returns the 1-based position where an object is on this stack.
|
static <T> void |
Arrays.setAll(T[] array,
IntFunction<? extends T> generator)
Set all elements of the specified array, using the provided
generator function to compute each element.
|
static void |
Arrays.sort(Object[] a)
Sorts the specified array of objects into ascending order, according
to the natural ordering of its elements.
|
static void |
Arrays.sort(Object[] a,
int fromIndex,
int toIndex)
Sorts the specified range of the specified array of objects into
ascending order, according to the
natural ordering of its
elements.
|
static <T> void |
Arrays.sort(T[] a,
Comparator<? super T> c)
Sorts the specified array of objects according to the order induced by
the specified comparator.
|
static <T> void |
Arrays.sort(T[] a,
int fromIndex,
int toIndex,
Comparator<? super T> c)
Sorts the specified range of the specified array of objects according
to the order induced by the specified comparator.
|
static <T> Spliterator<T> |
Spliterators.spliterator(Object[] array,
int additionalCharacteristics)
Creates a
Spliterator covering the elements of a given array,
using a customized set of spliterator characteristics. |
static <T> Spliterator<T> |
Spliterators.spliterator(Object[] array,
int fromIndex,
int toIndex,
int additionalCharacteristics)
Creates a
Spliterator covering a range of elements of a given
array, using a customized set of spliterator characteristics. |
static <T> Spliterator<T> |
Arrays.spliterator(T[] array)
Returns a
Spliterator covering all of the specified array. |
static <T> Spliterator<T> |
Arrays.spliterator(T[] array,
int startInclusive,
int endExclusive)
Returns a
Spliterator covering the specified range of the
specified array. |
static <T> Stream<T> |
Arrays.stream(T[] array)
Returns a sequential
Stream with the specified array as its
source. |
static <T> Stream<T> |
Arrays.stream(T[] array,
int startInclusive,
int endExclusive)
Returns a sequential
Stream with the specified range of the
specified array as its source. |
<T> T[] |
Vector.toArray(T[] a)
Returns an array containing all of the elements in this Vector in the
correct order; the runtime type of the returned array is that of the
specified array.
|
<T> T[] |
Set.toArray(T[] a)
Returns an array containing all of the elements in this set; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
PriorityQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
List.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
<T> T[] |
LinkedList.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
<T> T[] |
Collection.toArray(T[] a)
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
|
<T> T[] |
ArrayList.toArray(T[] a)
Returns an array containing all of the elements in this list in proper
sequence (from first to last element); the runtime type of the returned
array is that of the specified array.
|
<T> T[] |
ArrayDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque in
proper sequence (from first to last element); the runtime type of the
returned array is that of the specified array.
|
<T> T[] |
AbstractCollection.toArray(T[] a)
Returns an array containing all of the elements in this collection;
the runtime type of the returned array is that of the specified array.
|
static String |
Objects.toString(Object o)
Returns the result of calling
toString for a non-null argument and "null" for a null argument. |
static String |
Arrays.toString(Object[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Objects.toString(Object o,
String nullDefault)
Returns the result of calling
toString on the first
argument if the first argument is not null and returns
the second argument otherwise. |
| Constructor and Description |
|---|
EventObject(Object source)
Constructs a prototypical Event.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExecutorService
Provides default implementations of
ExecutorService
execution methods. |
class |
ArrayBlockingQueue<E>
A bounded blocking queue backed by an
array.
|
class |
BrokenBarrierException
Exception thrown when a thread tries to wait upon a barrier that is
in a broken state, or which enters the broken state while the thread
is waiting.
|
class |
CancellationException
Exception indicating that the result of a value-producing task,
such as a
FutureTask, cannot be retrieved because the task
was cancelled. |
class |
ConcurrentHashMap<K,V>
A hash table supporting full concurrency of retrievals and adjustable
expected concurrency for updates.
|
class |
ConcurrentLinkedDeque<E>
An unbounded concurrent deque based on linked nodes.
|
class |
ConcurrentLinkedQueue<E>
An unbounded thread-safe queue based on linked nodes.
|
class |
ConcurrentSkipListMap<K,V>
A scalable concurrent
ConcurrentNavigableMap implementation. |
class |
ConcurrentSkipListSet<E>
A scalable concurrent
NavigableSet implementation based on
a ConcurrentSkipListMap. |
class |
CopyOnWriteArrayList<E>
A thread-safe variant of
ArrayList in which all mutative
operations (add, set, and so on) are implemented by
making a fresh copy of the underlying array. |
class |
CopyOnWriteArraySet<E>
A
Set that uses an internal CopyOnWriteArrayList
for all of its operations. |
class |
CountDownLatch
A synchronization aid that allows one or more threads to wait until
a set of operations being performed in other threads completes.
|
class |
CountedCompleter<T>
A
ForkJoinTask with a completion action performed when
triggered and there are no remaining pending actions. |
class |
CyclicBarrier
A synchronization aid that allows a set of threads to all wait for
each other to reach a common barrier point.
|
class |
DelayQueue<E extends Delayed>
An unbounded blocking queue of
Delayed elements, in which an element can only be taken
when its delay has expired.
|
class |
Exchanger<V>
A synchronization point at which threads can pair and swap elements
within pairs.
|
class |
ExecutionException
Exception thrown when attempting to retrieve the result of a task
that aborted by throwing an exception.
|
class |
ExecutorCompletionService<V>
A
CompletionService that uses a supplied Executor
to execute tasks. |
class |
Executors
Factory and utility methods for
Executor, ExecutorService, ScheduledExecutorService, ThreadFactory, and Callable classes defined in this
package. |
class |
ForkJoinPool
An
ExecutorService for running ForkJoinTasks. |
class |
ForkJoinTask<V>
Abstract base class for tasks that run within a
ForkJoinPool. |
class |
ForkJoinWorkerThread
A thread managed by a
ForkJoinPool, which executes
ForkJoinTasks. |
class |
FutureTask<V>
A cancellable asynchronous computation.
|
class |
LinkedBlockingDeque<E>
An optionally-bounded blocking deque based on
linked nodes.
|
class |
LinkedBlockingQueue<E>
An optionally-bounded blocking queue based on
linked nodes.
|
class |
LinkedTransferQueue<E>
An unbounded
TransferQueue based on linked nodes. |
class |
Phaser
A reusable synchronization barrier, similar in functionality to
CyclicBarrier and
CountDownLatch
but supporting more flexible usage. |
class |
PriorityBlockingQueue<E>
An unbounded blocking queue that uses
the same ordering rules as class
PriorityQueue and supplies
blocking retrieval operations. |
class |
RecursiveAction
A recursive resultless
ForkJoinTask. |
class |
RecursiveTask<V>
A recursive result-bearing
ForkJoinTask. |
class |
RejectedExecutionException
Exception thrown by an
Executor when a task cannot be
accepted for execution. |
class |
ScheduledThreadPoolExecutor
A
ThreadPoolExecutor that can additionally schedule
commands to run after a given delay, or to execute
periodically. |
class |
Semaphore
A counting semaphore.
|
class |
SynchronousQueue<E>
A blocking queue in which each insert
operation must wait for a corresponding remove operation by another
thread, and vice versa.
|
class |
ThreadLocalRandom
A random number generator isolated to the current thread.
|
class |
ThreadPoolExecutor
An
ExecutorService that executes each submitted task using
one of possibly several pooled threads, normally configured
using Executors factory methods. |
static class |
ThreadPoolExecutor.AbortPolicy
A handler for rejected tasks that throws a
RejectedExecutionException. |
static class |
ThreadPoolExecutor.CallerRunsPolicy
A handler for rejected tasks that runs the rejected task
directly in the calling thread of the
execute method,
unless the executor has been shut down, in which case the task
is discarded. |
static class |
ThreadPoolExecutor.DiscardOldestPolicy
A handler for rejected tasks that discards the oldest unhandled
request and then retries
execute, unless the executor
is shut down, in which case the task is discarded. |
static class |
ThreadPoolExecutor.DiscardPolicy
A handler for rejected tasks that silently discards the
rejected task.
|
class |
TimeoutException
Exception thrown when a blocking operation times out.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
CopyOnWriteArrayList.clone()
Returns a shallow copy of this list.
|
Object[] |
SynchronousQueue.toArray()
Returns a zero-length array.
|
Object[] |
PriorityBlockingQueue.toArray()
Returns an array containing all of the elements in this queue.
|
Object[] |
LinkedBlockingQueue.toArray()
Returns an array containing all of the elements in this queue, in
proper sequence.
|
Object[] |
LinkedBlockingDeque.toArray()
Returns an array containing all of the elements in this deque, in
proper sequence (from first to last element).
|
Object[] |
DelayQueue.toArray()
Returns an array containing all of the elements in this queue.
|
Object[] |
CopyOnWriteArraySet.toArray()
Returns an array containing all of the elements in this set.
|
Object[] |
CopyOnWriteArrayList.toArray()
Returns an array containing all of the elements in this list
in proper sequence (from first to last element).
|
Object[] |
ConcurrentLinkedQueue.toArray()
Returns an array containing all of the elements in this queue, in
proper sequence.
|
Object[] |
ConcurrentLinkedDeque.toArray()
Returns an array containing all of the elements in this deque, in
proper sequence (from first to last element).
|
Object[] |
ArrayBlockingQueue.toArray()
Returns an array containing all of the elements in this queue, in
proper sequence.
|
<T> T[] |
SynchronousQueue.toArray(T[] a)
Sets the zeroeth element of the specified array to null
(if the array has non-zero length) and returns it.
|
<T> T[] |
PriorityBlockingQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
LinkedBlockingQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
<T> T[] |
LinkedBlockingDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
<T> T[] |
DelayQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
CopyOnWriteArraySet.toArray(T[] a)
Returns an array containing all of the elements in this set; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
CopyOnWriteArrayList.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
<T> T[] |
ConcurrentLinkedQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
<T> T[] |
ConcurrentLinkedDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque,
in proper sequence (from first to last element); the runtime
type of the returned array is that of the specified array.
|
<T> T[] |
ArrayBlockingQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
| Modifier and Type | Method and Description |
|---|---|
static Callable<Object> |
Executors.callable(PrivilegedAction<?> action)
Returns a
Callable object that, when
called, runs the given privileged action and returns its result. |
static Callable<Object> |
Executors.callable(PrivilegedExceptionAction<?> action)
Returns a
Callable object that, when
called, runs the given privileged exception action and returns
its result. |
static Callable<Object> |
Executors.callable(Runnable task)
Returns a
Callable object that, when
called, runs the given task and returns null. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SynchronousQueue.contains(Object o)
Always returns false.
|
boolean |
PriorityBlockingQueue.contains(Object o)
Returns
true if this queue contains the specified element. |
boolean |
LinkedTransferQueue.contains(Object o)
Returns
true if this queue contains the specified element. |
boolean |
LinkedBlockingQueue.contains(Object o)
Returns
true if this queue contains the specified element. |
boolean |
LinkedBlockingDeque.contains(Object o)
Returns
true if this deque contains the specified element. |
boolean |
CopyOnWriteArraySet.contains(Object o)
Returns true if this set contains the specified element.
|
boolean |
CopyOnWriteArrayList.contains(Object o)
Returns true if this list contains the specified element.
|
boolean |
ConcurrentSkipListSet.contains(Object o)
Returns true if this set contains the specified element.
|
boolean |
ConcurrentLinkedQueue.contains(Object o)
Returns
true if this queue contains the specified element. |
boolean |
ConcurrentLinkedDeque.contains(Object o)
Returns
true if this deque contains at least one
element e such that o.equals(e). |
boolean |
BlockingQueue.contains(Object o)
Returns true if this queue contains the specified element.
|
boolean |
BlockingDeque.contains(Object o)
Returns true if this deque contains the specified element.
|
boolean |
ArrayBlockingQueue.contains(Object o)
Returns
true if this queue contains the specified element. |
boolean |
ConcurrentSkipListMap.containsKey(Object key)
Returns true if this map contains a mapping for the specified
key.
|
boolean |
ConcurrentHashMap.containsKey(Object key) |
boolean |
ConcurrentSkipListMap.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
boolean |
ConcurrentHashMap.containsValue(Object value) |
boolean |
CopyOnWriteArraySet.equals(Object o)
Compares the specified object with this set for equality.
|
boolean |
CopyOnWriteArrayList.equals(Object o)
Compares the specified object with this list for equality.
|
boolean |
ConcurrentSkipListSet.equals(Object o)
Compares the specified object with this set for equality.
|
boolean |
ConcurrentSkipListMap.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
ConcurrentHashMap.equals(Object o) |
V |
ConcurrentSkipListMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null if this map contains no mapping for the key. |
V |
ConcurrentHashMap.get(Object key) |
int |
CopyOnWriteArrayList.indexOf(Object o)
Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
int |
CopyOnWriteArrayList.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element
in this list, or -1 if this list does not contain the element.
|
boolean |
SynchronousQueue.remove(Object o)
Always returns false.
|
boolean |
PriorityBlockingQueue.remove(Object o)
Removes a single instance of the specified element from this queue,
if it is present.
|
boolean |
LinkedTransferQueue.remove(Object o)
Removes a single instance of the specified element from this queue,
if it is present.
|
boolean |
LinkedBlockingQueue.remove(Object o)
Removes a single instance of the specified element from this queue,
if it is present.
|
boolean |
LinkedBlockingDeque.remove(Object o)
Removes the first occurrence of the specified element from this deque.
|
boolean |
DelayQueue.remove(Object o)
Removes a single instance of the specified element from this
queue, if it is present, whether or not it has expired.
|
boolean |
CopyOnWriteArraySet.remove(Object o)
Removes the specified element from this set if it is present.
|
boolean |
CopyOnWriteArrayList.remove(Object o)
Removes the first occurrence of the specified element from this list,
if it is present.
|
boolean |
ConcurrentSkipListSet.remove(Object o)
Removes the specified element from this set if it is present.
|
V |
ConcurrentSkipListMap.remove(Object key)
Removes the mapping for the specified key from this map if present.
|
boolean |
ConcurrentLinkedQueue.remove(Object o)
Removes a single instance of the specified element from this queue,
if it is present.
|
boolean |
ConcurrentLinkedDeque.remove(Object o)
Removes the first element
e such that
o.equals(e), if such an element exists in this deque. |
V |
ConcurrentHashMap.remove(Object key) |
boolean |
BlockingQueue.remove(Object o)
Removes a single instance of the specified element from this queue,
if it is present.
|
boolean |
BlockingDeque.remove(Object o)
Removes the first occurrence of the specified element from this deque.
|
boolean |
ArrayBlockingQueue.remove(Object o)
Removes a single instance of the specified element from this queue,
if it is present.
|
boolean |
ConcurrentSkipListMap.remove(Object key,
Object value)
Removes the entry for a key only if currently mapped to a given value.
|
boolean |
ConcurrentMap.remove(Object key,
Object value)
Removes the entry for a key only if currently mapped to a given value.
|
boolean |
ConcurrentHashMap.remove(Object key,
Object value) |
boolean |
LinkedBlockingDeque.removeFirstOccurrence(Object o) |
boolean |
ConcurrentLinkedDeque.removeFirstOccurrence(Object o)
Removes the first element
e such that
o.equals(e), if such an element exists in this deque. |
boolean |
BlockingDeque.removeFirstOccurrence(Object o)
Removes the first occurrence of the specified element from this deque.
|
boolean |
LinkedBlockingDeque.removeLastOccurrence(Object o) |
boolean |
ConcurrentLinkedDeque.removeLastOccurrence(Object o)
Removes the last element
e such that
o.equals(e), if such an element exists in this deque. |
boolean |
BlockingDeque.removeLastOccurrence(Object o)
Removes the last occurrence of the specified element from this deque.
|
void |
TimeUnit.timedWait(Object obj,
long timeout)
Performs a timed
Object.wait
using this time unit. |
<T> T[] |
SynchronousQueue.toArray(T[] a)
Sets the zeroeth element of the specified array to null
(if the array has non-zero length) and returns it.
|
<T> T[] |
PriorityBlockingQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
LinkedBlockingQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
<T> T[] |
LinkedBlockingDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
<T> T[] |
DelayQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
CopyOnWriteArraySet.toArray(T[] a)
Returns an array containing all of the elements in this set; the
runtime type of the returned array is that of the specified array.
|
<T> T[] |
CopyOnWriteArrayList.toArray(T[] a)
Returns an array containing all of the elements in this list in
proper sequence (from first to last element); the runtime type of
the returned array is that of the specified array.
|
<T> T[] |
ConcurrentLinkedQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
<T> T[] |
ConcurrentLinkedDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque,
in proper sequence (from first to last element); the runtime
type of the returned array is that of the specified array.
|
<T> T[] |
ArrayBlockingQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue, in
proper sequence; the runtime type of the returned array is that of
the specified array.
|
| Constructor and Description |
|---|
CopyOnWriteArrayList(E[] toCopyIn)
Creates a list holding a copy of the given array.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AtomicBoolean
A
boolean value that may be updated atomically. |
class |
AtomicInteger
An
int value that may be updated atomically. |
class |
AtomicIntegerArray
An
int array in which elements may be updated atomically. |
class |
AtomicIntegerFieldUpdater<T>
A reflection-based utility that enables atomic updates to
designated
volatile int fields of designated classes. |
class |
AtomicLong
A
long value that may be updated atomically. |
class |
AtomicLongArray
A
long array in which elements may be updated atomically. |
class |
AtomicLongFieldUpdater<T>
A reflection-based utility that enables atomic updates to
designated
volatile long fields of designated classes. |
class |
AtomicReference<V>
An object reference that may be updated atomically.
|
class |
AtomicReferenceArray<E>
An array of object references in which elements may be updated
atomically.
|
class |
AtomicReferenceFieldUpdater<T,V>
A reflection-based utility that enables atomic updates to
designated
volatile reference fields of designated
classes. |
| Constructor and Description |
|---|
AtomicReferenceArray(E[] array)
Creates a new AtomicReferenceArray with the same length as, and
all elements copied from, the given array.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractOwnableSynchronizer
A synchronizer that may be exclusively owned by a thread.
|
class |
AbstractQueuedLongSynchronizer
A version of
AbstractQueuedSynchronizer in
which synchronization state is maintained as a long. |
class |
AbstractQueuedLongSynchronizer.ConditionObject
Condition implementation for a
AbstractQueuedLongSynchronizer serving as the basis of a Lock implementation. |
class |
AbstractQueuedSynchronizer
Provides a framework for implementing blocking locks and related
synchronizers (semaphores, events, etc) that rely on
first-in-first-out (FIFO) wait queues.
|
class |
AbstractQueuedSynchronizer.ConditionObject
Condition implementation for a
AbstractQueuedSynchronizer serving as the basis of a Lock implementation. |
class |
LockSupport
Basic thread blocking primitives for creating locks and other
synchronization classes.
|
class |
ReentrantLock
A reentrant mutual exclusion
Lock with the same basic
behavior and semantics as the implicit monitor lock accessed using
synchronized methods and statements, but with extended
capabilities. |
class |
ReentrantReadWriteLock
An implementation of
ReadWriteLock supporting similar
semantics to ReentrantLock. |
static class |
ReentrantReadWriteLock.ReadLock
The lock returned by method
ReentrantReadWriteLock.readLock(). |
static class |
ReentrantReadWriteLock.WriteLock
The lock returned by method
ReentrantReadWriteLock.writeLock(). |
| Modifier and Type | Method and Description |
|---|---|
static Object |
LockSupport.getBlocker(Thread t)
Returns the blocker object supplied to the most recent
invocation of a park method that has not yet unblocked, or null
if not blocked.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
LockSupport.park(Object blocker)
Disables the current thread for thread scheduling purposes unless the
permit is available.
|
static void |
LockSupport.parkNanos(Object blocker,
long nanos)
Disables the current thread for thread scheduling purposes, for up to
the specified waiting time, unless the permit is available.
|
static void |
LockSupport.parkUntil(Object blocker,
long deadline)
Disables the current thread for thread scheduling purposes, until
the specified deadline, unless the permit is available.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Predicate<T> |
Predicate.isEqual(Object targetRef)
Returns a predicate that tests if two arguments are equal according
to
Objects#equals(Object, Object). |
| Modifier and Type | Class and Description |
|---|---|
class |
Level
The Level class defines a set of standard logging levels that
can be used to control logging output.
|
class |
Logger
A Logger object is used to log messages for a specific
system or application component.
|
class |
LogRecord
LogRecord objects are used to pass logging requests between
the logging framework and individual log Handlers.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
LogRecord.getParameters()
Get the parameters to the log message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object param1)
Log a method entry, with one parameter.
|
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object[] params)
Log a method entry, with an array of parameters.
|
boolean |
Level.equals(Object ox)
Compare two objects for value equality.
|
void |
Logger.exiting(String sourceClass,
String sourceMethod,
Object result)
Log a method return, with result object.
|
void |
Logger.log(Level level,
String msg,
Object param1)
Log a message, with one object parameter.
|
void |
Logger.log(Level level,
String msg,
Object[] params)
Log a message, with an array of object arguments.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object param1)
Log a message, specifying source class and method,
with a single object parameter to the log message.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object[] params)
Log a message, specifying source class and method,
with an array of object arguments.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object param1)
Log a message, specifying source class, method, and resource bundle name,
with a single object parameter to the log message.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object[] params)
Log a message, specifying source class, method, and resource bundle name,
with an array of object arguments.
|
void |
LogRecord.setParameters(Object[] parameters)
Set the parameters to the log message.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Matcher
An engine that performs match operations on a
character sequence by interpreting a Pattern. |
class |
Pattern
A compiled representation of a regular expression.
|
class |
PatternSyntaxException
Unchecked exception thrown to indicate a syntax error in a
regular-expression pattern.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Collectors
Implementations of
Collector that implement various useful reduction
operations, such as accumulating elements into collections, summarizing
elements according to various criteria, etc. |
class |
StreamSupport
Low-level utility methods for creating and manipulating streams.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
Stream.toArray()
Returns an array containing the elements of this stream.
|
<A> A[] |
Stream.toArray(IntFunction<A[]> generator)
Returns an array containing the elements of this stream, using the
provided
generator function to allocate the returned array, as
well as any additional arrays that might be required for a partitioned
execution or for resizing. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Stream<T> |
Stream.of(T... values)
Returns a sequential ordered stream whose elements are the specified values.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractProcessor |
| Modifier and Type | Class and Description |
|---|---|
class |
LauncherBck2Brwsr
|
| Modifier and Type | Class and Description |
|---|---|
class |
Console |
| Modifier and Type | Class and Description |
|---|---|
class |
Bck2Brwsr
Build your own virtual machine! Use methods in this class to generate
a skeleton JVM in JavaScript that contains pre-compiled classes of your
choice:
|
| Modifier and Type | Class and Description |
|---|---|
class |
VM
Utility methods to talk to the Bck2Brwsr virtual machine.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GlobalLookup |
class |
NamedServiceProcessor |
class |
ServiceProviderProcessor |
| Modifier and Type | Class and Description |
|---|---|
class |
Lookup
A general registry permitting clients to find instances of services
(implementation of a given interface).
|
static class |
Lookup.Item<T>
A single item in a lookup result.
|
static class |
Lookup.Result<T>
Result of a lookup request.
|
static class |
Lookup.Template<T>
Template defining a pattern to filter instances by.
|
class |
LookupEvent
An event describing the change in the lookup's result.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Lookup.Template.equals(Object obj) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLookup
Implementation of the lookup from OpenAPIs that is based on the
introduction of Item.
|
static class |
AbstractLookup.Content
A class that can be used by the creator of the
AbstractLookup to
control its content (a kind of
Privileged API
giving creator of the lookup more rights than subsequent users of the lookup). |
static class |
AbstractLookup.Pair<T>
Extension to the default lookup item that offers additional information
for the data structures use in AbstractLookup
|
class |
InstanceContent
A special content implementation that can be passed to AbstractLookup
and provides methods for registration of instances and lazy instances.
|
class |
Lookups
Static factory methods for creating common lookup implementations.
|
class |
ProxyLookup
Implementation of lookup that can delegate to others.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InstanceContent.add(Object inst)
Adds an instance to the lookup.
|
protected abstract boolean |
AbstractLookup.Pair.creatorOf(Object obj)
Method that can test whether an instance of a class has been created
by this item.
|
static Lookup |
Lookups.fixed(Object... objectsToLookup)
Creates a lookup that contains an array of objects specified via the
parameter.
|
static <T,R> Lookup |
Lookups.fixed(T[] keys,
InstanceContent.Convertor<? super T,R> convertor)
Creates a lookup that contains an array of objects specified via the
parameter.
|
void |
InstanceContent.remove(Object inst)
Remove instance.
|
static Lookup |
Lookups.singleton(Object objectToLookup)
Creates a singleton lookup.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractServiceProviderProcessor
Infrastructure for generating
META-INF/services/* and
META-INF/namedservices/* registrations from annotations. |
class |
ActiveQueue
Implementation of the active reference queue.
|
class |
NamedServicesProvider
Infrastructure provider interface for those who control the overall
registration of services in the system.
|
class |
SharedClassObjectBridge |
| Modifier and Type | Method and Description |
|---|---|
static ReferenceQueue<Object> |
ActiveQueue.queue()
Gets the active reference queue.
|
| Modifier and Type | Method and Description |
|---|---|
static Lookup |
NamedServicesProvider.createLookupFor(Object obj)
Allows the providers to donate a special lookup for a given object.
|
protected Lookup |
NamedServicesProvider.lookupFor(Object obj)
Method for providers to work in orchestration with
NamedServicesProvider.createLookupFor(java.lang.Object). |
Copyright © 2025 API Design. All Rights Reserved.