| Package | Description |
|---|---|
| java.util |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| Modifier and Type | Field and Description |
|---|---|
static List |
Collections.EMPTY_LIST
The empty list (immutable).
|
static Map |
Collections.EMPTY_MAP
The empty map (immutable).
|
static Set |
Collections.EMPTY_SET
The empty set (immutable).
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Enumeration<T> |
Collections.emptyEnumeration()
Returns an enumeration that has no elements.
|
static <T> Iterator<T> |
Collections.emptyIterator()
Returns an iterator that has no elements.
|
static <T> List<T> |
Collections.emptyList()
Returns the empty list (immutable).
|
static <T> ListIterator<T> |
Collections.emptyListIterator()
Returns a list iterator that has no elements.
|
static <K,V> Map<K,V> |
Collections.emptyMap()
Returns the empty map (immutable).
|
static <T> Set<T> |
Collections.emptySet()
Returns the empty set (immutable).
|
<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[] |
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[] |
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.
|
| Constructor and Description |
|---|
PriorityQueue(Collection<? extends E> c)
Creates a
PriorityQueue containing the elements in the
specified collection. |
PriorityQueue(PriorityQueue<? extends E> c)
Creates a
PriorityQueue containing the elements in the
specified priority queue. |
PriorityQueue(SortedSet<? extends E> c)
Creates a
PriorityQueue containing the elements in the
specified sorted set. |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
LinkedBlockingDeque.toArray()
Returns an array containing all of the elements in this deque, in
proper sequence (from first to last element).
|
<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[] |
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[] |
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 |
|---|
ConcurrentHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel)
Creates a new, empty map with the specified initial
capacity, load factor and concurrency level.
|
Copyright © 2017 API Design. All Rights Reserved.