| Package | Description |
|---|---|
| java.io | |
| java.lang | |
| java.lang.annotation | |
| java.lang.invoke | |
| java.lang.ref | |
| java.lang.reflect | |
| java.net | |
| java.nio.charset | |
| java.text | |
| java.util | |
| java.util.concurrent |
| 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 |
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 |
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 translates them into characters.
|
class |
InterruptedIOException
Signals that an I/O operation has been interrupted.
|
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 |
OutputStreamWriter
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
|
class |
PrintStream
A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
|
class |
Reader
Abstract class for reading character streams.
|
class |
StringReader
A specialized
Reader that reads characters from a String in
a sequential manner. |
class |
StringWriter |
class |
UnsupportedEncodingException
The Character Encoding is not supported.
|
class |
UTFDataFormatException
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
|
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 |
|---|---|
void |
PrintStream.print(Object obj)
Print an object.
|
void |
PrintStream.println(Object x)
Print an Object and then terminate the line.
|
| Constructor and Description |
|---|
Reader(Object lock)
Create a new character-stream reader whose critical sections will synchronize on the given object.
|
Writer(Object lock)
Create a new character-stream writer whose critical sections will synchronize on the given object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMethodError
Exception thrown when an attempt is made 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 |
class |
Boolean
The Boolean class wraps a value of the primitive type boolean in an object.
|
class |
Byte
The Byte class is the standard wrapper for byte values.
|
class |
Character
The Character class wraps a value of the primitive type char in an object.
|
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 |
ClassLoader |
class |
ClassNotFoundException
Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
|
class |
CloneNotSupportedException
Thrown when a program attempts to clone an object which does not support 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>>
Implementation class required to compile enums
|
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 |
IllegalAccessException
Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
|
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 |
class |
IllegalThreadStateException
Thrown to indicate that a thread is not in an appropriate state for the requested operation.
|
class |
IncompatibleClassChangeError
IncompatibleClassChangeError is the superclass of all classes which
represent errors that occur when inconsistent class files are loaded into
the same running image. |
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 because it is an interface or is an abstract class.
|
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 paused for a long time and another thread interrupts it.
|
class |
LinkageError
LinkageError is the superclass of all error classes that occur when
loading and linking class files. |
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.
|
class |
NegativeArraySizeException
Thrown if an application tries to create an array with negative size.
|
class |
NoClassDefFoundError
Thrown if the Java Virtual Machine tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
|
class |
NoSuchFieldError
Thrown when the virtual machine notices that a program tries to reference,
on a class or object, a field that does not exist.
|
class |
NullPointerException
Thrown when an application attempts to use null in a case where an object is required.
|
class |
Number |
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 |
Runtime
Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
|
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 system to indicate a security violation.
|
class |
Short
The Short class is the standard wrapper for short values.
|
class |
StackTraceElement |
class |
String
The String class represents character strings.
|
class |
StringBuffer
A string buffer implements a mutable sequence of characters.
|
class |
StringBuilder
A string builder implements a mutable sequence of characters.
|
class |
StringIndexOutOfBoundsException
Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
|
class |
System
The System class contains several useful class fields and methods.
|
class |
Thread
A thread is a thread of execution in a program.
|
class |
ThreadLocal<T> |
class |
Throwable
The Throwable class is the superclass of all errors and exceptions in the Java language.
|
class |
UnsupportedOperationException |
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 |
| Modifier and Type | Method and Description |
|---|---|
Object |
Class.cast(Object object)
Replacement for Class.cast(Object).
|
protected Object |
Object.clone() |
protected Object |
Enum.clone() |
protected static <T> T[] |
Enum.getEnumValues(Class<T> class_) |
Object |
Class.newInstance()
Creates a new instance of a class.
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
StringBuilder.append(Object obj)
Appends the string representation of the Object argument to this string builder.
|
StringBuffer |
StringBuffer.append(Object obj)
Appends the string representation of the Object argument to this string buffer.
|
static void |
System.arraycopy(Object src,
int srcOffset,
Object dst,
int dstOffset,
int length)
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
|
Object |
Class.cast(Object object)
Replacement for Class.cast(Object).
|
boolean |
String.equals(Object anObject)
Compares this string to the specified object.
|
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 against the specified object.
|
boolean |
Integer.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Float.equals(Object obj)
Compares this object against some other object.
|
boolean |
Enum.equals(Object other) |
boolean |
Double.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Character.equals(Object obj)
Compares this object against the specified object.
|
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 int |
System.identityHashCode(Object x)
Returns the same hashcode for the given object as would be returned by the default method hashCode(), whether or not the given object's class overrides hashCode().
|
StringBuilder |
StringBuilder.insert(int offset,
Object obj)
Inserts the string representation of the Object argument into this string builder.
|
StringBuffer |
StringBuffer.insert(int offset,
Object obj)
Inserts the string representation of the Object argument into this string buffer.
|
boolean |
Class.isInstance(Object obj)
Determines if the specified Object is assignment-compatible with the object represented by this Class.
|
protected static void |
Enum.setEnumValues(Object[] values,
Class c) |
static String |
String.valueOf(Object obj)
Returns the string representation of the Object argument.
|
| Constructor and Description |
|---|
AssertionError(Object detailMessage) |
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotationFormatError
A mirror of java.lang.annotation.AnnotationFormatError.
|
class |
IncompleteAnnotationException
A mirror of java.lang.annotation.IncompleteAnnotationException.
|
| 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
Deprecated.
these classes are used internally for Lambda compatibility
|
class |
LambdaMetafactory
Deprecated.
these classes are used internally for Lambda compatibility
|
class |
MethodHandle
Deprecated.
these classes are used internally for Lambda compatibility
|
class |
MethodHandles
Deprecated.
these classes are used internally for Lambda compatibility
|
static class |
MethodHandles.Lookup
Deprecated.
|
class |
MethodType
Deprecated.
these classes are used internally for Lambda compatibility
|
| Modifier and Type | Method and Description |
|---|---|
Object |
MethodHandle.invoke(Object... a)
Deprecated.
|
Object |
MethodHandle.invokeExact(Object... a)
Deprecated.
|
Object |
MethodHandle.invokeWithArguments(List<?> a)
Deprecated.
|
Object |
MethodHandle.invokeWithArguments(Object... a)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CallSite |
LambdaMetafactory.altMetafactory(MethodHandles.Lookup a,
String b,
MethodType c,
Object... d)
Deprecated.
|
MethodHandle |
MethodHandles.Lookup.bind(Object a,
String b,
MethodType c) |
MethodHandle |
MethodHandle.bindTo(Object a)
Deprecated.
|
static MethodHandle |
MethodHandles.constant(Class<?> a,
Object b)
Deprecated.
|
static MethodHandle |
MethodHandles.insertArguments(MethodHandle a,
int b,
Object... c)
Deprecated.
|
Object |
MethodHandle.invoke(Object... a)
Deprecated.
|
Object |
MethodHandle.invokeExact(Object... a)
Deprecated.
|
Object |
MethodHandle.invokeWithArguments(Object... a)
Deprecated.
|
MethodHandle |
MethodHandles.Lookup.unreflect(Object a) |
MethodHandle |
MethodHandles.Lookup.unreflectConstructor(Object a) |
MethodHandle |
MethodHandles.Lookup.unreflectGetter(Object a) |
MethodHandle |
MethodHandles.Lookup.unreflectSetter(Object a) |
MethodHandle |
MethodHandles.Lookup.unreflectSpecial(Object a,
Class<?> b) |
| Modifier and Type | Class and Description |
|---|---|
class |
Reference
Abstract base class for reference objects.
|
class |
WeakReference
This class provides support for weak references.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Reference.get()
Returns this reference object's referent.
|
| Constructor and Description |
|---|
WeakReference(Object ref)
Creates a new weak reference that refers to the given object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Array
Added this for Kotlin
|
class |
Constructor |
class |
Method |
| Modifier and Type | Method and Description |
|---|---|
static Object |
Array.newInstance(Class<?> componentType,
int length) |
static Object |
Array.newInstance(Class<?> componentType,
int[] dimensions) |
| Modifier and Type | Class and Description |
|---|---|
class |
URI
An implementation of a Univeral Resource Identifier (URI).
|
class |
URISyntaxException |
| Modifier and Type | Method and Description |
|---|---|
boolean |
URI.equals(Object that) |
| Modifier and Type | Class and Description |
|---|---|
class |
Charset
Added this for Kotlin
|
| Modifier and Type | Class and Description |
|---|---|
class |
DateFormat
Deprecated.
this class has many issues in iOS and other platforms, please use the L10NManager
|
class |
DateFormatPatterns
Common patterns for dates, times, and timestamps.
|
class |
DateFormatSymbols |
class |
Format
An abstract class for parsing and formatting localisation sensitive information, compatible with JDK 6.
|
class |
ParseException
An error occurred during parsing.
|
class |
SimpleDateFormat
Deprecated.
this class has many issues in iOS and other platforms, please use the L10NManager
|
| Modifier and Type | Method and Description |
|---|---|
Object |
SimpleDateFormat.clone()
Deprecated.
|
Object |
DateFormatSymbols.clone() |
Object |
DateFormat.clone()
Deprecated.
|
abstract Object |
Format.parseObject(String source)
Parse an string to an object.
|
Object |
DateFormat.parseObject(String source)
Deprecated.
NOT IMPLEMENTED - use SimpleDateFormat for parsing instead.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DateFormat.equals(Object obj)
Deprecated.
|
abstract String |
Format.format(Object source)
Format an object.
|
String |
DateFormat.format(Object obj)
Deprecated.
Format a given object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCollection<E>
Class
AbstractCollection is an abstract implementation of the Collection interface. |
class |
AbstractList<E>
AbstractList is an abstract implementation of the List interface, optimized
for a backing store which supports random access. |
class |
AbstractMap<K,V>
This class is an abstract implementation of the
Map interface. |
static class |
AbstractMap.SimpleEntry<K,V>
A key-value mapping.
|
static class |
AbstractMap.SimpleImmutableEntry<K,V>
An immutable key-value mapping.
|
class |
AbstractQueue<E>
AbstractQueue is an abstract class which implements some of the methods in
Queue. |
class |
AbstractSequentialList<E>
AbstractSequentialList is an abstract implementation of the List interface.
|
class |
AbstractSet<E>
An AbstractSet is an abstract implementation of the Set interface.
|
class |
ArrayDeque<E>
An implementation of Deque, backed by an array.
|
class |
ArrayList<E>
ArrayList is an implementation of
List, backed by an array. |
class |
Arrays
Arrays contains static methods which operate on arrays. |
class |
BitSet
The
BitSet class implements a bit field. |
class |
Calendar
Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.
|
class |
Collections
Collections contains static methods which operate on
Collection classes. |
class |
ConcurrentModificationException
An
ConcurrentModificationException is thrown when a Collection is
modified and an existing iterator on the Collection is used to modify the
Collection as well. |
class |
Date
The class Date represents a specific instant in time, with millisecond precision.
|
class |
Dictionary<K,V>
Note: Do not use this class since it is obsolete.
|
class |
EmptyStackException
Thrown by methods in the Stack class to indicate that the stack is empty.
|
class |
EventListenerProxy
This abstract class provides a simple wrapper for objects of type
EventListener. |
class |
HashMap<K,V>
HashMap is an implementation of Map.
|
class |
HashSet<E>
HashSet is an implementation of a Set.
|
class |
Hashtable<K,V>
Hashtable associates keys with values.
|
class |
IdentityHashMap<K,V>
IdentityHashMap is a variant on HashMap which tests equality by reference
instead of equality by value.
|
class |
LinkedHashMap<K,V>
LinkedHashMap is a variant of HashMap.
|
class |
LinkedHashSet<E>
LinkedHashSet is a variant of HashSet.
|
class |
LinkedList<E>
LinkedList is an implementation of List, backed by a linked list.
|
class |
Locale |
class |
NoSuchElementException
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
|
class |
Objects
This is a compatibility class which supports the java.util.Objects API.
|
class |
Observable
Observable is used to notify a group of Observer objects when a change
occurs.
|
class |
PriorityQueue<E>
A PriorityQueue holds elements on a priority heap, which orders the elements
according to their natural order or according to the comparator specified at
construction time.
|
class |
Random
An instance of this class is used to generate a stream of pseudorandom numbers.
|
class |
Stack<E>
Stack is a Last-In/First-Out(LIFO) data structure which represents a
stack of objects. |
class |
StringTokenizer
The
StringTokenizer class allows an application to break a string
into tokens by performing code point comparison. |
class |
Timer |
class |
TimerTask |
class |
TimeZone
TimeZone represents a time zone offset, and also figures out daylight savings.
|
class |
TreeMap<K,V>
TreeMap is an implementation of SortedMap.
|
class |
TreeSet<E>
TreeSet is an implementation of SortedSet.
|
class |
Vector<E>
Vector is a variable size contiguous indexable array of objects.
|
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
Vector.elementData
The elements of the vector.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Object & Comparable<? super T>> |
Collections.max(Collection<? extends T> collection)
Searches the specified collection for the maximum element.
|
static <T extends Object & Comparable<? super T>> |
Collections.min(Collection<? extends T> collection)
Searches the specified collection for the minimum element.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
Arrays.copyOf(T[] original,
int newLength) |
static <T> T[] |
Arrays.copyOf(T[] original,
int newLength,
Class<? extends T[]> newType) |
static <T> T[] |
Arrays.copyOfRange(T[] original,
int from,
int to) |
static <T,U> T[] |
Arrays.copyOfRange(U[] original,
int from,
int to,
Class<? extends T[]> newType) |
Object |
StringTokenizer.nextElement()
Returns the next token in the string as an
Object. |
Object[] |
Vector.toArray()
Returns a new array containing all elements contained in this vector.
|
Object[] |
Set.toArray()
Returns an array containing all elements contained in this set.
|
Object[] |
PriorityQueue.toArray()
Returns all the elements in an array.
|
Object[] |
List.toArray()
Returns an array containing all elements contained in this
List. |
Object[] |
LinkedList.toArray()
Returns a new array containing all elements contained in this
LinkedList. |
Object[] |
Collection.toArray()
Returns a new array containing all elements contained in this
Collection. |
Object[] |
ArrayList.toArray()
Returns a new array containing all elements contained in this
ArrayList. |
Object[] |
AbstractList.toArray()
Returns a new array containing all elements contained in this
ArrayList. |
Object[] |
AbstractCollection.toArray()
Returns a new array containing all elements contained in this
ArrayList. |
<T> T[] |
Vector.toArray(T[] contents)
Returns an array containing all elements contained in this vector.
|
<T> T[] |
Set.toArray(T[] array)
Returns an array containing all elements contained in this set.
|
<T> T[] |
PriorityQueue.toArray(T[] array)
Returns all the elements in an array, and the type of the result array is
the type of the argument array.
|
<T> T[] |
List.toArray(T[] array)
Returns an array containing all elements contained in this
List. |
<T> T[] |
LinkedList.toArray(T[] contents)
Returns an array containing all elements contained in this
LinkedList. |
<T> T[] |
Collection.toArray(T[] array)
Returns an array containing all elements contained in this
Collection. |
<T> T[] |
ArrayList.toArray(T[] contents)
Returns an array containing all elements contained in this
ArrayList. |
<T> T[] |
AbstractList.toArray(T[] contents)
Returns an array containing all elements contained in this
ArrayList. |
<T> T[] |
AbstractCollection.toArray(T[] contents)
Returns an array containing all elements contained in this
ArrayList. |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
Collections.addAll(Collection<? super T> c,
T... a)
Adds all the specified elements to the specified collection.
|
boolean |
Calendar.after(Object when)
Compares the time field records.
|
static <T> List<T> |
Arrays.asList(T... array)
Returns a
List of the objects in the specified array. |
boolean |
Calendar.before(Object when)
Compares the time field records.
|
static int |
Arrays.binarySearch(Object[] array,
int startIndex,
int endIndex,
Object object)
Performs a binary search for the specified element in a part of the
specified sorted array.
|
static int |
Arrays.binarySearch(Object[] array,
int startIndex,
int endIndex,
Object object)
Performs a binary search for the specified element in a part of the
specified sorted array.
|
static int |
Arrays.binarySearch(Object[] array,
Object object)
Performs a binary search for the specified element in the specified
sorted array.
|
static int |
Arrays.binarySearch(Object[] array,
Object object)
Performs a binary search for the specified element in the specified
sorted array.
|
static <T> int |
Arrays.binarySearch(T[] array,
int startIndex,
int endIndex,
T object,
Comparator<? super T> comparator)
Performs a binary search for the specified element in a part of the
specified sorted array using the Comparator to compare elements.
|
static <T> int |
Arrays.binarySearch(T[] array,
T object,
Comparator<? super T> comparator)
Performs a binary search for the specified element in the specified
sorted array using the Comparator to compare elements.
|
boolean |
Vector.contains(Object object)
Searches this vector for the specified object.
|
boolean |
TreeSet.contains(Object object)
Searches this
TreeSet for the specified object. |
boolean |
Set.contains(Object object)
Searches this set for the specified object.
|
boolean |
PriorityQueue.contains(Object object)
Answers if there is an element in this queue equals to the object.
|
boolean |
List.contains(Object object)
Tests whether this
List contains the specified object. |
boolean |
LinkedList.contains(Object object)
Searches this
LinkedList for the specified object. |
boolean |
Hashtable.contains(Object value)
Returns true if this
Hashtable contains the specified object as
the value of at least one of the key/value pairs. |
boolean |
HashSet.contains(Object object)
Searches this
HashSet for the specified object. |
boolean |
Collection.contains(Object object)
Tests whether this
Collection contains the specified object. |
boolean |
ArrayList.contains(Object object)
Searches this
ArrayList for the specified object. |
boolean |
ArrayDeque.contains(Object obj)
Returns true if the specified element is in the deque.
|
boolean |
AbstractCollection.contains(Object object)
Tests whether this
Collection contains the specified object. |
boolean |
TreeMap.containsKey(Object key)
Returns whether this map contains the specified key.
|
boolean |
Map.containsKey(Object key)
Returns whether this
Map contains the specified key. |
boolean |
IdentityHashMap.containsKey(Object key)
Returns whether this map contains the specified key.
|
boolean |
Hashtable.containsKey(Object key)
Returns true if this
Hashtable contains the specified object as a
key of one of the key/value pairs. |
boolean |
HashMap.containsKey(Object key)
Returns whether this map contains the specified key.
|
boolean |
AbstractMap.containsKey(Object key)
Returns whether this map contains the specified key.
|
boolean |
TreeMap.containsValue(Object value)
Returns whether this map contains the specified value.
|
boolean |
Map.containsValue(Object value)
Returns whether this
Map contains the specified value. |
boolean |
LinkedHashMap.containsValue(Object value) |
boolean |
IdentityHashMap.containsValue(Object value)
Returns whether this map contains the specified value.
|
boolean |
Hashtable.containsValue(Object value)
Searches this
Hashtable for the specified value. |
boolean |
HashMap.containsValue(Object value)
Returns whether this map contains the specified value.
|
boolean |
AbstractMap.containsValue(Object value)
Returns whether this map contains the specified value.
|
void |
Vector.copyInto(Object[] elements)
Attempts to copy elements contained by this
Vector into the
corresponding elements of the supplied Object array. |
static <T> T[] |
Arrays.copyOf(T[] original,
int newLength) |
static <T> T[] |
Arrays.copyOf(T[] original,
int newLength,
Class<? extends T[]> newType) |
static <T> T[] |
Arrays.copyOfRange(T[] original,
int from,
int to) |
static <T,U> T[] |
Arrays.copyOfRange(U[] original,
int from,
int to,
Class<? extends T[]> newType) |
static boolean |
Arrays.deepEquals(Object[] array1,
Object[] array2)
Returns
true if the two given arrays are deeply equal to one another. |
static boolean |
Arrays.deepEquals(Object[] array1,
Object[] array2)
Returns
true if the two given arrays are deeply equal to one another. |
static boolean |
Objects.deepEquals(Object a,
Object b) |
static int |
Arrays.deepHashCode(Object[] array)
Returns a hash code based on the "deep contents" of the given array.
|
static String |
Arrays.deepToString(Object[] array)
Creates a "deep"
String representation of the
Object[] passed, such that if the array contains other arrays,
the String representation of those arrays is generated as well. |
boolean |
Vector.equals(Object object)
Compares the specified object to this vector and returns if they are
equal.
|
boolean |
Set.equals(Object object)
Compares the specified object to this set, and returns true if they
represent the same object using a class specific comparison.
|
boolean |
Map.equals(Object object)
Compares the argument to the receiver, and returns
true if the
specified object is a Map and both Maps contain the same mappings. |
boolean |
Map.Entry.equals(Object object)
Compares the specified object to this
Map.Entry and returns if they
are equal. |
boolean |
List.equals(Object object)
Compares the given object with the
List, and returns true if they
represent the same object using a class specific comparison. |
boolean |
IdentityHashMap.equals(Object object)
Compares this map with other objects.
|
boolean |
Hashtable.equals(Object object)
Compares this
Hashtable with the specified object and indicates
if they are equal. |
boolean |
Date.equals(Object obj)
Compares two dates for equality.
|
boolean |
Comparator.equals(Object object)
Compares this
Comparator with the specified Object and indicates whether they
are equal. |
boolean |
Collection.equals(Object object)
Compares the argument to the receiver, and returns true if they represent
the same object using a class specific comparison.
|
boolean |
Calendar.equals(Object obj)
Compares this calendar to the specified object.
|
boolean |
BitSet.equals(Object obj)
Compares the argument to this
BitSet and returns whether they are
equal. |
boolean |
AbstractSet.equals(Object object)
Compares the specified object to this Set and returns true if they are
equal.
|
boolean |
AbstractMap.equals(Object object)
Compares the specified object to this instance, and returns
true
if the specified object is a map and both maps contain the same mappings. |
boolean |
AbstractMap.SimpleImmutableEntry.equals(Object object)
Answers whether the object is equal to this entry.
|
boolean |
AbstractMap.SimpleEntry.equals(Object object)
Answers whether the object is equal to this entry.
|
boolean |
AbstractList.equals(Object object)
Compares the specified object to this list and return true if they are
equal.
|
static boolean |
Arrays.equals(Object[] array1,
Object[] array2)
Compares the two arrays.
|
static boolean |
Arrays.equals(Object[] array1,
Object[] array2)
Compares the two arrays.
|
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[] array,
int start,
int end,
Object value)
Fills the specified range in the array with the specified element.
|
static void |
Arrays.fill(Object[] array,
int start,
int end,
Object value)
Fills the specified range in the array with the specified element.
|
static void |
Arrays.fill(Object[] array,
Object value)
Fills the specified array with the specified element.
|
static void |
Arrays.fill(Object[] array,
Object value)
Fills the specified array with the specified element.
|
static int |
Collections.frequency(Collection<?> c,
Object o)
Returns the number of elements in the
Collection that match the
Object passed. |
V |
TreeMap.get(Object key)
Returns the value of the mapping with the specified key.
|
V |
Map.get(Object key)
Returns the value of the mapping with the specified key.
|
V |
LinkedHashMap.get(Object key)
Returns the value of the mapping with the specified key.
|
V |
IdentityHashMap.get(Object key)
Returns the value of the mapping with the specified key.
|
V |
Hashtable.get(Object key)
Returns the value associated with the specified key in this
Hashtable. |
V |
HashMap.get(Object key)
Returns the value of the mapping with the specified key.
|
abstract V |
Dictionary.get(Object key)
Returns the value which is associated with
key. |
V |
AbstractMap.get(Object key)
Returns the value of the mapping with the specified key.
|
static int |
Objects.hash(Object... 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[] array)
Returns a hash code based on the contents of the given array.
|
int |
Vector.indexOf(Object object)
Searches in this vector for the index of the specified object.
|
int |
List.indexOf(Object object)
Searches this
List for the specified object and returns the index of the
first occurrence. |
int |
LinkedList.indexOf(Object object) |
int |
ArrayList.indexOf(Object object) |
int |
AbstractList.indexOf(Object object)
Searches this list for the specified object and returns the index of the
first occurrence.
|
int |
Vector.indexOf(Object object,
int location)
Searches in this vector for the index of the specified object.
|
int |
Vector.lastIndexOf(Object object)
Searches in this vector for the index of the specified object.
|
int |
List.lastIndexOf(Object object)
Searches this
List for the specified object and returns the index of the
last occurrence. |
int |
LinkedList.lastIndexOf(Object object)
Searches this
LinkedList for the specified object and returns the
index of the last occurrence. |
int |
ArrayList.lastIndexOf(Object object) |
int |
AbstractList.lastIndexOf(Object object)
Searches this list for the specified object and returns the index of the
last occurrence.
|
int |
Vector.lastIndexOf(Object object,
int location)
Searches in this vector for the index of the specified object.
|
static boolean |
Objects.nonNull(Object obj) |
void |
Observable.notifyObservers(Object data)
If
hasChanged() returns true, calls the update()
method for every Observer in the list of observers using the specified
argument. |
boolean |
Vector.remove(Object object)
Removes the first occurrence, starting at the beginning and moving
towards the end, of the specified object from this vector.
|
boolean |
TreeSet.remove(Object object)
Removes an occurrence of the specified object from this
TreeSet. |
V |
TreeMap.remove(Object key)
Removes the mapping with the specified key from this map.
|
boolean |
Set.remove(Object object)
Removes the specified object from this set.
|
boolean |
PriorityQueue.remove(Object o)
Removes the specified object from the priority queue.
|
V |
Map.remove(Object key)
Removes a mapping with the specified key from this
Map. |
boolean |
List.remove(Object object)
Removes the first occurrence of the specified object from this
List. |
boolean |
LinkedList.remove(Object object) |
V |
LinkedHashMap.remove(Object key)
Removes the mapping with the specified key from this map.
|
V |
IdentityHashMap.remove(Object key)
Removes the mapping with the specified key from this map.
|
V |
Hashtable.remove(Object key)
Removes the key/value pair with the specified key from this
Hashtable. |
boolean |
HashSet.remove(Object object)
Removes the specified object from this
HashSet. |
V |
HashMap.remove(Object key)
Removes the mapping with the specified key from this map.
|
abstract V |
Dictionary.remove(Object key)
Removes the key/value pair with the specified
key from this
dictionary. |
boolean |
Collection.remove(Object object)
Removes one instance of the specified object from this
Collection if one
is contained (optional). |
boolean |
ArrayList.remove(Object object) |
boolean |
ArrayDeque.remove(Object obj)
Removes the first equivalent element of the specified object.
|
V |
AbstractMap.remove(Object key)
Removes a mapping with the specified key from this Map.
|
boolean |
AbstractCollection.remove(Object object)
Removes one instance of the specified object from this
Collection if one
is contained (optional). |
boolean |
Vector.removeElement(Object object)
Removes the first occurrence, starting at the beginning and moving
towards the end, of the specified object from this vector.
|
boolean |
LinkedList.removeFirstOccurrence(Object o)
Removes the first equivalent element of the specified object.
|
boolean |
Deque.removeFirstOccurrence(Object o)
Removes the first equivalent element of the specified object.
|
boolean |
ArrayDeque.removeFirstOccurrence(Object obj)
Removes the first equivalent element of the specified object.
|
boolean |
LinkedList.removeLastOccurrence(Object o)
Removes the last equivalent element of the specified object.
|
boolean |
Deque.removeLastOccurrence(Object o)
Removes the last equivalent element of the specified object.
|
boolean |
ArrayDeque.removeLastOccurrence(Object obj)
Removes the last equivalent element of the specified object.
|
int |
Stack.search(Object o)
Returns the index of the first occurrence of the object, starting from
the top of the stack.
|
static void |
Arrays.sort(Object[] array)
Sorts the specified array in ascending natural order.
|
static void |
Arrays.sort(Object[] array,
int start,
int end)
Sorts the specified range in the array in ascending natural order.
|
static <T> void |
Arrays.sort(T[] array,
Comparator<? super T> comparator)
Sorts the specified array using the specified
Comparator. |
static <T> void |
Arrays.sort(T[] array,
int start,
int end,
Comparator<? super T> comparator)
Sorts the specified range in the array using the specified
Comparator. |
<T> T[] |
Vector.toArray(T[] contents)
Returns an array containing all elements contained in this vector.
|
<T> T[] |
Set.toArray(T[] array)
Returns an array containing all elements contained in this set.
|
<T> T[] |
PriorityQueue.toArray(T[] array)
Returns all the elements in an array, and the type of the result array is
the type of the argument array.
|
<T> T[] |
List.toArray(T[] array)
Returns an array containing all elements contained in this
List. |
<T> T[] |
LinkedList.toArray(T[] contents)
Returns an array containing all elements contained in this
LinkedList. |
<T> T[] |
Collection.toArray(T[] array)
Returns an array containing all elements contained in this
Collection. |
<T> T[] |
ArrayList.toArray(T[] contents)
Returns an array containing all elements contained in this
ArrayList. |
<T> T[] |
AbstractList.toArray(T[] contents)
Returns an array containing all elements contained in this
ArrayList. |
<T> T[] |
AbstractCollection.toArray(T[] contents)
Returns an array containing all elements contained in this
ArrayList. |
static String |
Objects.toString(Object o) |
static String |
Arrays.toString(Object[] array)
Creates a
String representation of the Object[] passed. |
static String |
Objects.toString(Object o,
String nullDefault) |
void |
Observer.update(Observable observable,
Object data)
This method is called if the specified
Observable object's
notifyObservers method is called (because the Observable
object has been updated. |
| Modifier and Type | Class and Description |
|---|---|
class |
ThreadLocalRandom |
Copyright © 2025. All rights reserved.