| Package | Description |
|---|---|
| java.io | |
| java.lang | |
| java.lang.annotation | |
| java.lang.invoke | |
| java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
| java.net | |
| java.util | |
| java.util.function | |
| org.apidesign.vm4brwsr.api |
| Modifier and Type | Class and Description |
|---|---|
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 |
EOFException
Signals that an end of file or end of stream has been reached
unexpectedly during input.
|
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 |
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 |
IOException
Signals that an I/O exception of some sort has occurred.
|
class |
OutputStream
This abstract class is the superclass of all classes representing
an output stream of bytes.
|
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 |
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected Object |
Reader.lock
The object used to synchronize operations on this stream.
|
| Constructor and Description |
|---|
Reader(Object lock)
Creates a new character-stream reader whose critical sections will
synchronize on the given object.
|
| Modifier and Type | Class and Description |
|---|---|
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 |
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 |
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 |
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 |
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 |
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 |
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) |
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.
|
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 | 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 |
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 |
MalformedURLException
Thrown to indicate that a malformed URL has occurred.
|
class |
URL
Class
URL represents a Uniform Resource
Locator, a pointer to a "resource" on the World
Wide Web. |
class |
URLStreamHandler
The abstract class
URLStreamHandler is the common
superclass for all stream protocol handlers. |
| Modifier and Type | Method and Description |
|---|---|
Object |
URL.getContent()
Gets the contents of this URL.
|
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.
|
| Modifier and Type | Class and Description |
|---|---|
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 |
ServiceConfigurationError
Error thrown when something goes wrong while loading a service provider.
|
class |
ServiceLoader<S>
A simple service-provider loading facility.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
Set.toArray()
Returns an array containing all of the elements in this set.
|
Object[] |
List.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.
|
<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[] |
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[] |
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Set.contains(Object o)
Returns true if this set contains the specified element.
|
boolean |
List.contains(Object o)
Returns true if this list contains the specified element.
|
boolean |
Collection.contains(Object o)
Returns true if this collection contains the specified element.
|
boolean |
Map.containsKey(Object key)
Returns true if this map contains a mapping for the specified
key.
|
boolean |
Map.containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
static boolean |
Objects.deepEquals(Object a,
Object b)
Returns
true if the arguments are deeply equal to each other
and false otherwise. |
boolean |
Set.equals(Object o)
Compares the specified object with this set for equality.
|
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 |
List.equals(Object o)
Compares the specified object with this list 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.
|
static boolean |
Objects.equals(Object a,
Object b)
Returns
true if the arguments are equal to each other
and false otherwise. |
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. |
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. |
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.
|
static boolean |
Objects.isNull(Object obj)
Returns
true if the provided reference is null otherwise
returns false. |
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.
|
static boolean |
Objects.nonNull(Object obj)
Returns
true if the provided reference is non-null
otherwise returns false. |
boolean |
Set.remove(Object o)
Removes the specified element from this set if it is present
(optional operation).
|
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 |
Collection.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.
|
<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[] |
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[] |
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.
|
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 |
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. |
| 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 |
VM
Utility methods to talk to the Bck2Brwsr virtual machine.
|
Copyright © 2025 API Design. All Rights Reserved.