| Package | Description |
|---|---|
| java.io | |
| java.lang | |
| java.net | |
| java.text | |
| java.util | |
| java.util.concurrent |
| Modifier and Type | Method and Description |
|---|---|
void |
StringWriter.close() |
void |
StringReader.close()
Closes this reader.
|
void |
StringWriter.flush() |
void |
StringReader.mark(int readLimit)
Sets a mark position in this reader.
|
boolean |
StringReader.markSupported()
Indicates whether this reader supports the
mark() and reset() methods. |
int |
StringReader.read()
Reads a single character from the source string and returns it as an
integer with the two higher-order bytes set to 0.
|
int |
StringReader.read(char[] buf,
int offset,
int len)
Reads at most
len characters from the source string and stores
them at offset in the character array buf. |
boolean |
StringReader.ready()
Indicates whether this reader is ready to be read without blocking.
|
void |
StringReader.reset()
Resets this reader's position to the last
mark() location. |
long |
StringReader.skip(long ns)
Moves
ns characters in the source string. |
String |
StringWriter.toString() |
void |
StringWriter.write(char[] cbuf) |
void |
StringWriter.write(char[] cbuf,
int off,
int len) |
void |
StringWriter.write(int c) |
void |
StringWriter.write(String str) |
void |
StringWriter.write(String str,
int off,
int len) |
| Modifier and Type | Method and Description |
|---|---|
int |
Short.compareTo(Short another) |
double |
Short.doubleValue() |
double |
Byte.doubleValue() |
float |
Short.floatValue() |
float |
Byte.floatValue() |
int |
Short.intValue() |
int |
Byte.intValue() |
long |
Short.longValue() |
long |
Byte.longValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
URI.equals(Object that) |
int |
URI.hashCode() |
| Modifier and Type | Method and Description |
|---|---|
Object |
SimpleDateFormat.clone()
Deprecated.
|
boolean |
DateFormat.equals(Object obj)
Deprecated.
|
String |
SimpleDateFormat.format(Date source)
Deprecated.
|
String |
DateFormat.format(Object obj)
Deprecated.
Format a given object.
|
int |
DateFormat.hashCode()
Deprecated.
|
Date |
SimpleDateFormat.parse(String source)
Deprecated.
|
Object |
DateFormat.parseObject(String source)
Deprecated.
NOT IMPLEMENTED - use SimpleDateFormat for parsing instead.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Vector.add(E object)
Adds the specified object at the end of this vector.
|
boolean |
TreeSet.add(E object)
Adds the specified object to this
TreeSet. |
boolean |
PriorityQueue.add(E o)
Adds the specified object to the priority queue.
|
boolean |
LinkedList.add(E object)
Adds the specified object at the end of this
LinkedList. |
boolean |
HashSet.add(E object)
Adds the specified object to this
HashSet if not already present. |
boolean |
ArrayList.add(E object)
Adds the specified object at the end of this
ArrayList. |
boolean |
ArrayDeque.add(E e)
Inserts the element to the tail of the deque.
|
boolean |
AbstractQueue.add(E o)
Adds an element to the queue.
|
boolean |
AbstractList.add(E object)
Adds the specified object at the end of this List.
|
void |
Vector.add(int location,
E object)
Adds the specified object into this vector at the specified location.
|
void |
LinkedList.add(int location,
E object)
Inserts the specified object into this
LinkedList at the
specified location. |
void |
ArrayList.add(int location,
E object)
Inserts the specified object into this
ArrayList at the specified
location. |
void |
AbstractSequentialList.add(int location,
E object) |
boolean |
Vector.addAll(Collection<? extends E> collection)
Adds the objects in the specified collection to the end of this vector.
|
boolean |
TreeSet.addAll(Collection<? extends E> collection)
Adds the objects in the specified collection to this
TreeSet. |
boolean |
LinkedList.addAll(Collection<? extends E> collection)
Adds the objects in the specified Collection to this
LinkedList. |
boolean |
ArrayList.addAll(Collection<? extends E> collection)
Adds the objects in the specified collection to this
ArrayList. |
boolean |
AbstractQueue.addAll(Collection<? extends E> c)
Adds all the elements of a collection to the queue.
|
boolean |
Vector.addAll(int location,
Collection<? extends E> collection)
Inserts the objects in the specified collection at the specified location
in this vector.
|
boolean |
LinkedList.addAll(int location,
Collection<? extends E> collection)
Inserts the objects in the specified collection at the specified location
in this
LinkedList. |
boolean |
ArrayList.addAll(int location,
Collection<? extends E> collection)
Inserts the objects in the specified collection at the specified location
in this List.
|
boolean |
AbstractSequentialList.addAll(int location,
Collection<? extends E> collection) |
void |
Vector.clear()
Removes all elements from this vector, leaving it empty.
|
void |
TreeSet.clear()
Removes all elements from this
TreeSet, leaving it empty. |
void |
TreeMap.clear()
Removes all mappings from this TreeMap, leaving it empty.
|
void |
PriorityQueue.clear()
Removes all the elements of the priority queue.
|
void |
LinkedList.clear()
Removes all elements from this
LinkedList, leaving it empty. |
void |
LinkedHashMap.clear()
Removes all elements from this map, leaving it empty.
|
void |
IdentityHashMap.clear()
Removes all elements from this map, leaving it empty.
|
void |
HashSet.clear()
Removes all elements from this
HashSet, leaving it empty. |
void |
HashMap.clear()
Removes all mappings from this hash map, leaving it empty.
|
void |
ArrayList.clear()
Removes all elements from this
ArrayList, leaving it empty. |
void |
ArrayDeque.clear()
Empty the deque.
|
void |
AbstractQueue.clear()
Removes all elements of the queue, leaving it empty.
|
void |
AbstractList.clear()
Removes all elements from this list, leaving it empty.
|
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 |
PriorityQueue.contains(Object object)
Answers if there is an element in this queue equals to the object.
|
boolean |
LinkedList.contains(Object object)
Searches this
LinkedList for the specified object. |
boolean |
HashSet.contains(Object object)
Searches this
HashSet for 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 |
Vector.containsAll(Collection<?> collection)
Searches this vector for all objects in the specified collection.
|
boolean |
TreeMap.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 |
HashMap.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 |
LinkedHashMap.containsValue(Object value) |
boolean |
IdentityHashMap.containsValue(Object value)
Returns whether this map contains the specified value.
|
boolean |
HashMap.containsValue(Object value)
Returns whether this map contains the specified value.
|
Enumeration<V> |
Hashtable.elements()
Returns an enumeration on the values of this
Hashtable. |
Set<Map.Entry<K,V>> |
TreeMap.entrySet()
Returns a set containing all of the mappings in this map.
|
Set<Map.Entry<K,V>> |
LinkedHashMap.entrySet()
Returns a set containing all of the mappings in this map.
|
Set<Map.Entry<K,V>> |
IdentityHashMap.entrySet()
Returns a set containing all of the mappings in this map.
|
Set<Map.Entry<K,V>> |
HashMap.entrySet()
Returns a set containing all of the mappings in this map.
|
boolean |
Vector.equals(Object object)
Compares the specified object to this vector and returns if they are
equal.
|
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 |
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.
|
E |
Vector.get(int location)
Returns the element at the specified location in this vector.
|
E |
LinkedList.get(int location) |
E |
ArrayList.get(int location) |
E |
AbstractSequentialList.get(int location) |
V |
TreeMap.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.
|
int |
Vector.hashCode()
Returns an integer hash code for the receiver.
|
int |
Hashtable.hashCode() |
int |
BitSet.hashCode()
Computes the hash code for this
BitSet. |
int |
AbstractSet.hashCode()
Returns the hash code for this set.
|
int |
AbstractMap.hashCode()
Returns the hash code for this object.
|
int |
AbstractMap.SimpleImmutableEntry.hashCode()
Answers the hash code of this entry.
|
int |
AbstractMap.SimpleEntry.hashCode()
Answers the hash code of this entry.
|
int |
AbstractList.hashCode()
Returns the hash code of this list.
|
int |
Vector.indexOf(Object object)
Searches in this vector for the index of the specified object.
|
int |
LinkedList.indexOf(Object object) |
int |
ArrayList.indexOf(Object object) |
boolean |
Vector.isEmpty()
Returns if this vector has no elements, a size of zero.
|
boolean |
TreeSet.isEmpty()
Returns true if this
TreeSet has no element, otherwise false. |
boolean |
IdentityHashMap.isEmpty()
Returns whether this IdentityHashMap has no elements.
|
boolean |
Hashtable.isEmpty()
Returns true if this
Hashtable has no key/value pairs. |
boolean |
HashSet.isEmpty()
Returns true if this
HashSet has no elements, false otherwise. |
boolean |
HashMap.isEmpty()
Returns whether this map is empty.
|
boolean |
ArrayList.isEmpty() |
boolean |
ArrayDeque.isEmpty()
Returns true if the deque has no elements.
|
Iterator<E> |
TreeSet.iterator()
Returns an Iterator on the elements of this
TreeSet. |
Iterator<E> |
PriorityQueue.iterator()
Gets the iterator of the priority queue, which will not return elements
in any specified ordering.
|
Iterator<E> |
HashSet.iterator()
Returns an Iterator on the elements of this
HashSet. |
Iterator<E> |
ArrayDeque.iterator()
Returns the iterator of the deque.
|
Iterator<E> |
AbstractSequentialList.iterator() |
Iterator<E> |
AbstractList.iterator()
Returns an iterator on the elements of this list.
|
Enumeration<K> |
Hashtable.keys()
Returns an enumeration on the keys of this
Hashtable instance. |
Set<K> |
TreeMap.keySet()
Returns a set of the keys contained in this map.
|
Set<K> |
LinkedHashMap.keySet()
Returns a set of the keys contained in this map.
|
Set<K> |
IdentityHashMap.keySet()
Returns a set of the keys contained in this map.
|
Set<K> |
HashMap.keySet()
Returns a set of the keys contained in this map.
|
int |
Vector.lastIndexOf(Object object)
Searches in this vector for the index of the specified object.
|
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) |
ListIterator<E> |
LinkedList.listIterator(int location)
Returns a ListIterator on the elements of this
LinkedList. |
abstract ListIterator<E> |
AbstractSequentialList.listIterator(int location) |
V |
TreeMap.put(K key,
V value)
Maps the specified key to the specified value.
|
V |
LinkedHashMap.put(K key,
V value)
Maps the specified key to the specified value.
|
V |
IdentityHashMap.put(K key,
V value)
Maps the specified key to the specified value.
|
V |
Hashtable.put(K key,
V value)
Associate the specified value with the specified key in this
Hashtable. |
V |
HashMap.put(K key,
V value)
Maps the specified key to the specified value.
|
void |
TreeMap.putAll(Map<? extends K,? extends V> map)
Copies all the mappings in the given map to this map.
|
void |
IdentityHashMap.putAll(Map<? extends K,? extends V> map)
Copies all the mappings in the specified map to this map.
|
void |
HashMap.putAll(Map<? extends K,? extends V> map)
Copies all the mappings in the specified map to this map.
|
E |
Vector.remove(int location)
Removes the object at the specified location from this vector.
|
E |
LinkedList.remove(int location)
Removes the object at the specified location from this
LinkedList. |
E |
ArrayList.remove(int location)
Removes the object at the specified location from this list.
|
E |
AbstractSequentialList.remove(int location) |
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 |
PriorityQueue.remove(Object o)
Removes the specified object from the priority queue.
|
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.
|
boolean |
ArrayList.remove(Object object) |
boolean |
ArrayDeque.remove(Object obj)
Removes the first equivalent element of the specified object.
|
boolean |
Vector.removeAll(Collection<?> collection)
Removes all occurrences in this vector of each object in the specified
Collection.
|
boolean |
AbstractSet.removeAll(Collection<?> collection)
Removes all occurrences in this collection which are contained in the
specified collection.
|
protected void |
Vector.removeRange(int start,
int end)
Removes the objects in the specified range from the start to the, but not
including, end index.
|
protected void |
ArrayList.removeRange(int start,
int end)
Removes the objects in the specified range from the start to the end, but
not including the end index.
|
boolean |
Vector.retainAll(Collection<?> collection)
Removes all objects from this vector that are not contained in the
specified collection.
|
E |
Vector.set(int location,
E object)
Replaces the element at the specified location in this vector with the
specified object.
|
E |
LinkedList.set(int location,
E object)
Replaces the element at the specified location in this
LinkedList
with the specified object. |
E |
ArrayList.set(int location,
E object)
Replaces the element at the specified location in this
ArrayList
with the specified object. |
E |
AbstractSequentialList.set(int location,
E object) |
int |
Vector.size()
Returns the number of elements in this vector.
|
int |
TreeSet.size()
Returns the number of elements in this
TreeSet. |
int |
TreeMap.size()
Returns the number of mappings in this map.
|
int |
PriorityQueue.size()
Gets the size of the priority queue.
|
int |
LinkedList.size()
Returns the number of elements in this
LinkedList. |
int |
IdentityHashMap.size()
Returns the number of mappings in this IdentityHashMap.
|
int |
Hashtable.size()
Returns the number of key/value pairs in this
Hashtable. |
int |
HashSet.size()
Returns the number of elements in this
HashSet. |
int |
HashMap.size()
Returns the number of elements in this map.
|
int |
ArrayList.size()
Returns the number of elements in this
ArrayList. |
int |
ArrayDeque.size()
Returns the size of the deque.
|
List<E> |
Vector.subList(int start,
int end)
Returns a List of the specified portion of this vector from the start
index to one less than the end index.
|
Object[] |
Vector.toArray()
Returns a new array containing all elements contained in this vector.
|
Object[] |
PriorityQueue.toArray()
Returns all the elements in an array.
|
Object[] |
LinkedList.toArray()
Returns a new array containing all elements contained in this
LinkedList. |
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[] |
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[] |
LinkedList.toArray(T[] contents)
Returns an array containing all elements contained in this
LinkedList. |
<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. |
String |
Vector.toString()
Returns the string representation of this vector.
|
String |
Hashtable.toString()
Returns the string representation of this
Hashtable. |
String |
BitSet.toString()
Returns a string containing a concise, human-readable description of the
receiver.
|
String |
AbstractMap.toString()
Returns the string representation of this map.
|
String |
AbstractMap.SimpleImmutableEntry.toString()
Answers a String representation of this entry.
|
String |
AbstractMap.SimpleEntry.toString()
Answers a String representation of this entry.
|
String |
AbstractCollection.toString()
Returns the string representation of this
Collection. |
Collection<V> |
TreeMap.values()
Returns a collection of the values contained in this map.
|
Collection<V> |
LinkedHashMap.values()
Returns a collection of the values contained in this map.
|
Collection<V> |
IdentityHashMap.values()
Returns a collection of the values contained in this map.
|
Collection<V> |
HashMap.values()
Returns a collection of the values contained in this map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ThreadLocalRandom.setSeed(long seed) |
Copyright © 2022. All rights reserved.