A B C D E F G H I J K L M N O P Q R S T U V W Y

A

AbstractCollection - class java.util.AbstractCollection.
This class provides a skeletal implementation of the Collection interface, to minimize the effort required to implement this interface.
AbstractCollection() - Constructor for class java.util.AbstractCollection
Sole constructor.
AbstractList - class java.util.AbstractList.
This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array).
AbstractList() - Constructor for class java.util.AbstractList
Sole constructor.
AbstractMap - class java.util.AbstractMap.
This class provides a skeletal implementation of the Map interface, to minimize the effort required to implement this interface.
AbstractMap() - Constructor for class java.util.AbstractMap
Sole constructor.
AbstractQueue - class java.util.AbstractQueue.
This class provides skeletal implementations of some Queue operations.
AbstractQueue() - Constructor for class java.util.AbstractQueue
Constructor for use by subclasses.
AbstractSequentialList - class java.util.AbstractSequentialList.
This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list).
AbstractSequentialList() - Constructor for class java.util.AbstractSequentialList
Sole constructor.
AbstractSet - class java.util.AbstractSet.
This class provides a skeletal implementation of the Set interface to minimize the effort required to implement this interface.
AbstractSet() - Constructor for class java.util.AbstractSet
Sole constructor.
ArrayBlockingQueue - class java.util.concurrent.ArrayBlockingQueue.
A bounded blocking queue backed by an array.
ArrayBlockingQueue(int) - Constructor for class java.util.concurrent.ArrayBlockingQueue
Creates an ArrayBlockingQueue with the given (fixed) capacity and default access policy.
ArrayBlockingQueue(int, boolean) - Constructor for class java.util.concurrent.ArrayBlockingQueue
Creates an ArrayBlockingQueue with the given (fixed) capacity and the specified access policy.
ArrayBlockingQueue(int, boolean, Collection) - Constructor for class java.util.concurrent.ArrayBlockingQueue
Creates an ArrayBlockingQueue with the given (fixed) capacity, the specified access policy and initially containing the elements of the given collection, added in traversal order of the collection's iterator.
AtomicBoolean - class java.util.concurrent.atomic.AtomicBoolean.
An AtomicBoolean maintains a boolean value that is updated atomically.
AtomicBoolean(boolean) - Constructor for class java.util.concurrent.atomic.AtomicBoolean
Creates a new AtomicBoolean with the given initial value.
AtomicBoolean() - Constructor for class java.util.concurrent.atomic.AtomicBoolean
Creates a new AtomicBoolean with initial value false.
AtomicInteger - class java.util.concurrent.atomic.AtomicInteger.
An AtomicInteger maintains an int value that is updated atomically.
AtomicInteger(int) - Constructor for class java.util.concurrent.atomic.AtomicInteger
Create a new AtomicInteger with the given initial value.
AtomicInteger() - Constructor for class java.util.concurrent.atomic.AtomicInteger
Create a new AtomicInteger with initial value 0.
AtomicIntegerArray - class java.util.concurrent.atomic.AtomicIntegerArray.
An AtomicIntegerArray maintains a int array in which elements may be updated atomically, and are accessed using volatile semantics.
AtomicIntegerArray(int) - Constructor for class java.util.concurrent.atomic.AtomicIntegerArray
Create a new AtomicIntegerArray of given length.
AtomicIntegerFieldUpdater - class java.util.concurrent.atomic.AtomicIntegerFieldUpdater.
An AtomicIntegerFieldUpdater is a reflection-based utility that enables atomic updates to designated integer fields of designated classes.
AtomicIntegerFieldUpdater() - Constructor for class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Protected do-nothing constructor for use by subclasses.
AtomicLong - class java.util.concurrent.atomic.AtomicLong.
An AtomicLong maintains a long value that is updated atomically.
AtomicLong(long) - Constructor for class java.util.concurrent.atomic.AtomicLong
Create a new AtomicLong with the given initial value.
AtomicLong() - Constructor for class java.util.concurrent.atomic.AtomicLong
Create a new AtomicLong with initial value 0.
AtomicLongArray - class java.util.concurrent.atomic.AtomicLongArray.
An AtomicLongArray maintains a long array in which elements may be updated atomically, and are accessed using volatile semantics.
AtomicLongArray(int) - Constructor for class java.util.concurrent.atomic.AtomicLongArray
Create a new AtomicLongArray of given length.
AtomicLongFieldUpdater - class java.util.concurrent.atomic.AtomicLongFieldUpdater.
An AtomicLongFieldUpdater is a reflection-based utility that enables atomic updates to designated long fields of designated classes.
AtomicLongFieldUpdater() - Constructor for class java.util.concurrent.atomic.AtomicLongFieldUpdater
Protected do-nothing constructor for use by subclasses.
AtomicMarkableReference - class java.util.concurrent.atomic.AtomicMarkableReference.
An AtomicMarkableReference maintains an object reference along with a mark bit, that can be updated atomically.
AtomicMarkableReference(V, boolean) - Constructor for class java.util.concurrent.atomic.AtomicMarkableReference
Creates a new AtomicMarkableReference with the given initial values.
AtomicReference - class java.util.concurrent.atomic.AtomicReference.
An AtomicReference maintains an object reference that is updated atomically.
AtomicReference(V) - Constructor for class java.util.concurrent.atomic.AtomicReference
Create a new AtomicReference with the given initial value.
AtomicReference() - Constructor for class java.util.concurrent.atomic.AtomicReference
Create a new AtomicReference with null initial value.
AtomicReferenceArray - class java.util.concurrent.atomic.AtomicReferenceArray.
An AtomicReferenceArray maintains an array of object references in which elements may be updated atomically, and are accessed using volatile semantics.
AtomicReferenceArray(int) - Constructor for class java.util.concurrent.atomic.AtomicReferenceArray
Create a new AtomicReferenceArray of given length.
AtomicReferenceFieldUpdater - class java.util.concurrent.atomic.AtomicReferenceFieldUpdater.
An AtomicReferenceFieldUpdater is a reflection-based utility that enables atomic updates to designated reference fields of designated classes.
AtomicReferenceFieldUpdater() - Constructor for class java.util.concurrent.atomic.AtomicReferenceFieldUpdater
Protected do-nothing constructor for use by subclasses.
AtomicStampedReference - class java.util.concurrent.atomic.AtomicStampedReference.
An AtomicStampedReference maintains an object reference along with an integer "stamp", that can be updated atomically.
AtomicStampedReference(V, int) - Constructor for class java.util.concurrent.atomic.AtomicStampedReference
Creates a new AtomicStampedReference with the given initial values.
acquire() - Method in class java.util.concurrent.FairSemaphore
Acquires a permit from this semaphore, blocking until one is available, or the thread is interrupted.
acquire(long) - Method in class java.util.concurrent.FairSemaphore
Acquires the given number of permits from this semaphore, blocking until all are available, or the thread is interrupted.
acquire() - Method in class java.util.concurrent.Semaphore
Acquires a permit from this semaphore, blocking until one is available, or the thread is interrupted.
acquireUninterruptibly() - Method in class java.util.concurrent.FairSemaphore
Acquires a permit from this semaphore, blocking until one is available.
acquireUninterruptibly(long) - Method in class java.util.concurrent.FairSemaphore
Acquires the given number of permits from this semaphore, blocking until all are available.
acquireUninterruptibly() - Method in class java.util.concurrent.Semaphore
Acquires a permit from this semaphore, blocking until one is available.
activeCount() - Static method in class java.lang.Thread
Returns the number of active threads in the current thread's thread group.
activeCount() - Method in class java.lang.ThreadGroup
Returns an estimate of the number of active threads in this thread group.
activeGroupCount() - Method in class java.lang.ThreadGroup
Returns an estimate of the number of active groups in this thread group.
add(E) - Method in class java.util.AbstractCollection
Ensures that this collection contains the specified element (optional operation).
add(E) - Method in class java.util.AbstractList
Appends the specified element to the end of this List (optional operation).
add(int, E) - Method in class java.util.AbstractList
Inserts the specified element at the specified position in this list (optional operation).
add(E) - Method in class java.util.AbstractQueue
Adds the specified element to this queue.
add(int, E) - Method in class java.util.AbstractSequentialList
Inserts the specified element at the specified position in this list.
add(E) - Method in interface java.util.Collection
Ensures that this collection contains the specified element (optional operation).
add(E) - Method in class java.util.LinkedList
Appends the specified element to the end of this list.
add(int, E) - Method in class java.util.LinkedList
Inserts the specified element at the specified position in this list.
add(E) - Method in interface java.util.List
Appends the specified element to the end of this list (optional operation).
add(int, E) - Method in interface java.util.List
Inserts the specified element at the specified position in this list (optional operation).
add(E) - Method in class java.util.PriorityQueue
Adds the specified element to this queue.
add(E) - Method in interface java.util.Set
Adds the specified element to this set if it is not already present (optional operation).
add(E) - Method in interface java.util.concurrent.BlockingQueue
Adds the specified element to this queue if it is possible to do so immediately, returning true upon success, else throwing an IllegalStateException.
add(E) - Method in class java.util.concurrent.ConcurrentLinkedQueue
Adds the specified element to the tail of this queue.
add(E) - Method in class java.util.concurrent.CopyOnWriteArrayList
Appends the specified element to the end of this list.
add(int, E) - Method in class java.util.concurrent.CopyOnWriteArrayList
Inserts the specified element at the specified position in this list.
add(E) - Method in class java.util.concurrent.CopyOnWriteArraySet
 
add(E) - Method in class java.util.concurrent.DelayQueue
Adds the specified element to this queue.
add(E) - Method in class java.util.concurrent.PriorityBlockingQueue
Adds the specified element to this queue.
addAll(Collection) - Method in class java.util.AbstractCollection
Adds all of the elements in the specified collection to this collection (optional operation).
addAll(int, Collection) - Method in class java.util.AbstractList
Inserts all of the elements in the specified collection into this list at the specified position (optional operation).
addAll(int, Collection) - Method in class java.util.AbstractSequentialList
Inserts all of the elements in in the specified collection into this list at the specified position.
addAll(Collection) - Method in interface java.util.Collection
Adds all of the elements in the specified collection to this collection (optional operation).
addAll(Collection) - Method in class java.util.LinkedList
Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator.
addAll(int, Collection) - Method in class java.util.LinkedList
Inserts all of the elements in the specified collection into this list, starting at the specified position.
addAll(Collection) - Method in interface java.util.List
Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation).
addAll(int, Collection) - Method in interface java.util.List
Inserts all of the elements in the specified collection into this list at the specified position (optional operation).
addAll(Collection) - Method in interface java.util.Set
Adds all of the elements in the specified collection to this set if they're not already present (optional operation).
addAll(Collection) - Method in interface java.util.concurrent.BlockingQueue
Adds all of the elements in the specified collection to this queue if it is possible to do so.
addAll(Collection) - Method in class java.util.concurrent.CopyOnWriteArrayList
Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator.
addAll(int, Collection) - Method in class java.util.concurrent.CopyOnWriteArrayList
Inserts all of the elements in the specified Collection into this list, starting at the specified position.
addAll(Collection) - Method in class java.util.concurrent.CopyOnWriteArraySet
 
addAllAbsent(Collection) - Method in class java.util.concurrent.CopyOnWriteArrayList
Appends all of the elements in the specified Collection that are not already contained in this list, to the end of this list, in the order that they are returned by the specified Collection's Iterator.
addAndGet(int) - Method in class java.util.concurrent.atomic.AtomicInteger
Atomically add the given value to current value.
addAndGet(int, int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Atomically add the given value to element at index i.
addAndGet(T, int) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Atomically add the given value to current value.
addAndGet(long) - Method in class java.util.concurrent.atomic.AtomicLong
Atomically add the given value to current value.
addAndGet(int, long) - Method in class java.util.concurrent.atomic.AtomicLongArray
Atomically add the given value to element at index i.
addAndGet(T, long) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Atomically add the given value to current value.
addFirst(E) - Method in class java.util.LinkedList
Inserts the given element at the beginning of this list.
addIfAbsent(E) - Method in class java.util.concurrent.CopyOnWriteArrayList
Append the element if not present.
addLast(E) - Method in class java.util.LinkedList
Appends the given element to the end of this list.
afterExecute(Runnable, Throwable) - Method in class java.util.concurrent.ScheduledExecutor
Override of Executor hook method to support periodic tasks.
afterExecute(Runnable, Throwable) - Method in class java.util.concurrent.ThreadPoolExecutor
Method invoked upon completion of execution of the given Runnable.
allowThreadSuspension(boolean) - Method in class java.lang.ThreadGroup
Deprecated. The definition of this call depends on ThreadGroup.suspend(), which is deprecated. Further, the behavior of this call was never specified.
arraycopy(Object, int, Object, int, int) - Static method in class java.lang.System
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
attemptMark(V, boolean) - Method in class java.util.concurrent.atomic.AtomicMarkableReference
Atomically sets the value of the mark to the given update value if the current reference is == to the expected reference.
attemptStamp(V, int) - Method in class java.util.concurrent.atomic.AtomicStampedReference
Atomically sets the value of the stamp to the given update value if the current reference is == to the expected reference.
availablePermits() - Method in class java.util.concurrent.Semaphore
Return the current number of permits available in this semaphore.
await() - Method in class java.util.concurrent.CountDownLatch
Causes the current thread to wait until the latch has counted down to zero, unless the thread is interrupted.
await(long, TimeUnit) - Method in class java.util.concurrent.CountDownLatch
Causes the current thread to wait until the latch has counted down to zero, unless the thread is interrupted, or the specified waiting time elapses.
await() - Method in class java.util.concurrent.CyclicBarrier
Wait until all parties have invoked await on this barrier.
await(long, TimeUnit) - Method in class java.util.concurrent.CyclicBarrier
Wait until all parties have invoked await on this barrier.
await() - Method in interface java.util.concurrent.locks.Condition
Causes the current thread to wait until it is signalled or interrupted.
await(long, TimeUnit) - Method in interface java.util.concurrent.locks.Condition
Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses.
await() - Method in class java.util.concurrent.locks.ReentrantLock.ConditionObject
Causes the current thread to wait until it is signalled or interrupted.
await(long, TimeUnit) - Method in class java.util.concurrent.locks.ReentrantLock.ConditionObject
Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses.
awaitNanos(long) - Method in interface java.util.concurrent.locks.Condition
Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses.
awaitNanos(long) - Method in class java.util.concurrent.locks.ReentrantLock.ConditionObject
Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses.
awaitTermination(long, TimeUnit) - Method in interface java.util.concurrent.ExecutorService
Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.
awaitTermination(long, TimeUnit) - Method in class java.util.concurrent.ThreadPoolExecutor
 
awaitUninterruptibly() - Method in interface java.util.concurrent.locks.Condition
Causes the current thread to wait until it is signalled.
awaitUninterruptibly() - Method in class java.util.concurrent.locks.ReentrantLock.ConditionObject
Causes the current thread to wait until it is signalled.
awaitUntil(Date) - Method in interface java.util.concurrent.locks.Condition
Causes the current thread to wait until it is signalled or interrupted, or the specified deadline elapses.
awaitUntil(Date) - Method in class java.util.concurrent.locks.ReentrantLock.ConditionObject
Causes the current thread to wait until it is signalled or interrupted, or the specified deadline elapses.

B

BlockingQueue - interface java.util.concurrent.BlockingQueue.
A Queue that additionally supports operations that wait for elements to exist when retrieving them, and wait for space to exist when storing them.
BrokenBarrierException - exception java.util.concurrent.BrokenBarrierException.
Exception thrown when a thread tries to wait upon a barrier that is in a broken state, or which enters the broken state while the thread is waiting.
BrokenBarrierException() - Constructor for class java.util.concurrent.BrokenBarrierException
Constructs a BrokenBarrierException with no specified detail message.
BrokenBarrierException(String) - Constructor for class java.util.concurrent.BrokenBarrierException
Constructs a BrokenBarrierException with the specified detail message.
beforeExecute(Thread, Runnable) - Method in class java.util.concurrent.ThreadPoolExecutor
Method invoked prior to executing the given Runnable in the given thread.

C

Callable - interface java.util.concurrent.Callable.
A task that returns a result and may throw an exception.
Cancellable - interface java.util.concurrent.Cancellable.
Something, usually a task, that can be cancelled.
CancellableTask - class java.util.concurrent.CancellableTask.
Base class for Cancellable Runnable actions within the Executor framework.
CancellableTask(Runnable) - Constructor for class java.util.concurrent.CancellableTask
Creates a new CancellableTask which invokes the given Runnable when executed.
CancellableTask() - Constructor for class java.util.concurrent.CancellableTask
Creates a new CancellableTask without a runnable action, which must be set using setRunnable before use.
CancellableTask.InnerCancellableFuture - class java.util.concurrent.CancellableTask.InnerCancellableFuture.
Implementation of Future methods under the control of a current CancellableTask, which it relies on for methods isDone, isCancelled and cancel.
CancellableTask.InnerCancellableFuture(Callable) - Constructor for class java.util.concurrent.CancellableTask.InnerCancellableFuture
Create an InnerCancellableFuture that will execute the given callable.
CancellationException - exception java.util.concurrent.CancellationException.
Exception indicating that the result of a value-producing Cancellable task, such as a FutureTask, cannot be retrieved because the task was cancelled.
CancellationException() - Constructor for class java.util.concurrent.CancellationException
Constructs a CancellationException with no detail message.
CancellationException(String) - Constructor for class java.util.concurrent.CancellationException
Constructs a CancellationException with the specified detail message.
Collection - interface java.util.Collection.
The root interface in the collection hierarchy.
ConcurrentHashMap - class java.util.concurrent.ConcurrentHashMap.
A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updates.
ConcurrentHashMap(int, float, int) - Constructor for class java.util.concurrent.ConcurrentHashMap
Constructs a new, empty map with the specified initial capacity and the specified load factor.
ConcurrentHashMap(int) - Constructor for class java.util.concurrent.ConcurrentHashMap
Constructs a new, empty map with the specified initial capacity, and with default load factor and concurrencyLevel.
ConcurrentHashMap() - Constructor for class java.util.concurrent.ConcurrentHashMap
Constructs a new, empty map with a default initial capacity, load factor, and concurrencyLevel.
ConcurrentHashMap(Map) - Constructor for class java.util.concurrent.ConcurrentHashMap
Constructs a new map with the same mappings as the given map.
ConcurrentLinkedQueue - class java.util.concurrent.ConcurrentLinkedQueue.
An unbounded thread-safe queue based on linked nodes.
ConcurrentLinkedQueue() - Constructor for class java.util.concurrent.ConcurrentLinkedQueue
Creates a ConcurrentLinkedQueue that is initially empty.
ConcurrentLinkedQueue(Collection) - Constructor for class java.util.concurrent.ConcurrentLinkedQueue
Creates a ConcurrentLinkedQueue initially containing the elements of the given collection, added in traversal order of the collection's iterator.
ConcurrentMap - interface java.util.concurrent.ConcurrentMap.
A Map providing additional atomic putIfAbsent and remove methods.
Condition - interface java.util.concurrent.locks.Condition.
Condition factors out the Object monitor methods (wait, notify and notifyAll) into distinct objects to give the effect of having multiple wait-sets per object, by combining them with the use of arbitrary Lock implementations.
CopyOnWriteArrayList - class java.util.concurrent.CopyOnWriteArrayList.
A variant of ArrayList in which all mutative operations (add, set, and so on) are implemented by making a fresh copy of the underlying array.
CopyOnWriteArrayList() - Constructor for class java.util.concurrent.CopyOnWriteArrayList
Creates an empty list.
CopyOnWriteArrayList(Collection) - Constructor for class java.util.concurrent.CopyOnWriteArrayList
Creates a list containing the elements of the specified Collection, in the order they are returned by the Collection's iterator.
CopyOnWriteArrayList(E[]) - Constructor for class java.util.concurrent.CopyOnWriteArrayList
Create a new CopyOnWriteArrayList holding a copy of given array.
CopyOnWriteArraySet - class java.util.concurrent.CopyOnWriteArraySet.
A Set that uses CopyOnWriteArrayList for all of its operations.
CopyOnWriteArraySet() - Constructor for class java.util.concurrent.CopyOnWriteArraySet
Constructs an empty set.
CopyOnWriteArraySet(Collection) - Constructor for class java.util.concurrent.CopyOnWriteArraySet
Constructs a set containing all of the elements of the specified Collection.
CountDownLatch - class java.util.concurrent.CountDownLatch.
A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes.
CountDownLatch(int) - Constructor for class java.util.concurrent.CountDownLatch
Constructs a CountDownLatch initialized with the given count.
CyclicBarrier - class java.util.concurrent.CyclicBarrier.
A synchronization aid that allows a set of threads to all wait for each other to reach a common barrier point.
CyclicBarrier(int, Runnable) - Constructor for class java.util.concurrent.CyclicBarrier
Create a new CyclicBarrier that will trip when the given number of parties (threads) are waiting upon it, and which will execute the given barrier action when the barrier is tripped.
CyclicBarrier(int) - Constructor for class java.util.concurrent.CyclicBarrier
Create a new CyclicBarrier that will trip when the given number of parties (threads) are waiting upon it, and does not perform a predefined action upon each barrier.
call() - Method in interface java.util.concurrent.Callable
Computes a result, or throws an exception if unable to do so.
cancel(boolean) - Method in interface java.util.concurrent.Cancellable
Attempt to cancel execution of this task.
cancel(boolean) - Method in class java.util.concurrent.CancellableTask.InnerCancellableFuture
 
cancel(boolean) - Method in class java.util.concurrent.CancellableTask
 
checkAccess() - Method in class java.lang.Thread
Determines if the currently running thread has permission to modify this thread.
checkAccess() - Method in class java.lang.ThreadGroup
Determines if the currently running thread has permission to modify this thread group.
clear() - Method in class java.util.AbstractCollection
Removes all of the elements from this collection (optional operation).
clear() - Method in class java.util.AbstractList
Removes all of the elements from this collection (optional operation).
clear() - Method in class java.util.AbstractMap
Removes all mappings from this map (optional operation).
clear() - Method in class java.util.AbstractQueue
Removes all of the elements from this collection.
clear() - Method in interface java.util.Collection
Removes all of the elements from this collection (optional operation).
clear() - Method in class java.util.LinkedList
Removes all of the elements from this list.
clear() - Method in interface java.util.List
Removes all of the elements from this list (optional operation).
clear() - Method in interface java.util.Map
Removes all mappings from this map (optional operation).
clear() - Method in class java.util.PriorityQueue
Remove all elements from the priority queue.
clear() - Method in interface java.util.Set
Removes all of the elements from this set (optional operation).
clear() - Method in class java.util.concurrent.ConcurrentHashMap
Removes all mappings from this map.
clear() - Method in class java.util.concurrent.CopyOnWriteArrayList
Removes all of the elements from this list.
clear() - Method in class java.util.concurrent.CopyOnWriteArraySet
 
clear() - Method in class java.util.concurrent.DelayQueue
Atomically removes all of the elements from this delay queue.
clear() - Method in class java.util.concurrent.PriorityBlockingQueue
Atomically removes all of the elements from this delay queue.
clear() - Method in class java.util.concurrent.SynchronousQueue
Does nothing.
clearProperty(String) - Static method in class java.lang.System
Removes the system property indicated by the specified key.
clone() - Method in class java.util.AbstractMap
Returns a shallow copy of this AbstractMap instance: the keys and values themselves are not cloned.
clone() - Method in class java.util.LinkedList
Returns a shallow copy of this LinkedList.
clone() - Method in class java.util.concurrent.ConcurrentHashMap
Returns a shallow copy of this ConcurrentHashMap instance: the keys and values themselves are not cloned.
clone() - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns a shallow copy of this list.
comparator() - Method in class java.util.PriorityQueue
Returns the comparator used to order this collection, or null if this collection is sorted according to its elements natural ordering (using Comparable).
comparator() - Method in class java.util.concurrent.PriorityBlockingQueue
Returns the comparator used to order this collection, or null if this collection is sorted according to its elements natural ordering (using Comparable).
compareAndSet(boolean, boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
Atomically sets the value to the given update value if the current value is equal to the expected value.
compareAndSet(int, int) - Method in class java.util.concurrent.atomic.AtomicInteger
Atomically set the value to the given updated value if the current value == the expected value.
compareAndSet(int, int, int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Atomically set the value to the given updated value if the current value == the expected value.
compareAndSet(T, int, int) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Atomically set the value of the field of the given object managed by this Updater to the given updated value if the current value == the expected value.
compareAndSet(long, long) - Method in class java.util.concurrent.atomic.AtomicLong
Atomically set the value to the given updated value if the current value == the expected value.
compareAndSet(int, long, long) - Method in class java.util.concurrent.atomic.AtomicLongArray
Atomically set the value to the given updated value if the current value == the expected value.
compareAndSet(T, long, long) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Atomically set the value of the field of the given object managed by this Updater to the given updated value if the current value == the expected value.
compareAndSet(V, V, boolean, boolean) - Method in class java.util.concurrent.atomic.AtomicMarkableReference
Atomically sets the value of both the reference and mark to the given update values if the current reference is == to the expected reference and the current mark is equal to the expected mark.
compareAndSet(V, V) - Method in class java.util.concurrent.atomic.AtomicReference
Atomically set the value to the given updated value if the current value == the expected value.
compareAndSet(int, V, V) - Method in class java.util.concurrent.atomic.AtomicReferenceArray
Atomically set the value to the given updated value if the current value == the expected value.
compareAndSet(T, V, V) - Method in class java.util.concurrent.atomic.AtomicReferenceFieldUpdater
Atomically set the value of the field of the given object managed by this Updater to the given updated value if the current value == the expected value.
compareAndSet(V, V, int, int) - Method in class java.util.concurrent.atomic.AtomicStampedReference
Atomically sets the value of both the reference and stamp to the given update values if the current reference is == to the expected reference and the current stamp is equal to the expected stamp.
contains(Object) - Method in class java.util.AbstractCollection
Returns true if this collection contains the specified element.
contains(Object) - Method in interface java.util.Collection
Returns true if this collection contains the specified element.
contains(Object) - Method in class java.util.LinkedList
Returns true if this list contains the specified element.
contains(Object) - Method in interface java.util.List
Returns true if this list contains the specified element.
contains(Object) - Method in interface java.util.Set
Returns true if this set contains the specified element.
contains(Object) - Method in class java.util.concurrent.ArrayBlockingQueue
 
contains(Object) - Method in class java.util.concurrent.ConcurrentHashMap
Legacy method testing if some key maps into the specified value in this table.
contains(Object) - Method in class java.util.concurrent.ConcurrentLinkedQueue
 
contains(Object) - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns true if this list contains the specified element.
contains(Object) - Method in class java.util.concurrent.CopyOnWriteArraySet
 
contains(Object) - Method in class java.util.concurrent.PriorityBlockingQueue
 
contains(Object) - Method in class java.util.concurrent.SynchronousQueue
Always returns false.
containsAll(Collection) - Method in class java.util.AbstractCollection
Returns true if this collection contains all of the elements in the specified collection.
containsAll(Collection) - Method in interface java.util.Collection
Returns true if this collection contains all of the elements in the specified collection.
containsAll(Collection) - Method in interface java.util.List
Returns true if this list contains all of the elements of the specified collection.
containsAll(Collection) - Method in interface java.util.Set
Returns true if this set contains all of the elements of the specified collection.
containsAll(Collection) - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns true if this Collection contains all of the elements in the specified Collection.
containsAll(Collection) - Method in class java.util.concurrent.CopyOnWriteArraySet
 
containsAll(Collection) - Method in class java.util.concurrent.SynchronousQueue
Returns false unless given collection is empty.
containsKey(Object) - Method in class java.util.AbstractMap
Returns true if this map contains a mapping for the specified key.
containsKey(Object) - Method in interface java.util.Map
Returns true if this map contains a mapping for the specified key.
containsKey(Object) - Method in class java.util.concurrent.ConcurrentHashMap
Tests if the specified object is a key in this table.
containsValue(Object) - Method in class java.util.AbstractMap
Returns true if this map maps one or more keys to this value.
containsValue(Object) - Method in interface java.util.Map
Returns true if this map maps one or more keys to the specified value.
containsValue(Object) - Method in class java.util.concurrent.ConcurrentHashMap
Returns true if this map maps one or more keys to the specified value.
convert(long, TimeUnit) - Method in class java.util.concurrent.TimeUnit
Convert the given time duration in the given unit to the current unit.
countDown() - Method in class java.util.concurrent.CountDownLatch
Decrements the count of the latch, releasing all waiting threads if the count reaches zero.
countStackFrames() - Method in class java.lang.Thread
Deprecated. The definition of this call depends on Thread.suspend(), which is deprecated. Further, the results of this call were never well-defined.
currentThread() - Static method in class java.lang.Thread
Returns a reference to the currently executing thread object.
currentTimeMillis() - Static method in class java.lang.System
Returns the current time in milliseconds.

D

DelayQueue - class java.util.concurrent.DelayQueue.
An unbounded blocking queue of Delayed elements, in which an element can only be taken when its delay has expired.
DelayQueue() - Constructor for class java.util.concurrent.DelayQueue
Creates a new DelayQueue that is initially empty.
DelayQueue(Collection) - Constructor for class java.util.concurrent.DelayQueue
Creates a DelayQueue initially containing the elements of the given collection of Delayed instances.
Delayed - interface java.util.concurrent.Delayed.
A mix-in style interface for representing actions, events, etc that should be executed, accessed or acted upon only after a given delay.
decrementAndGet() - Method in class java.util.concurrent.atomic.AtomicInteger
Atomically decrement by one the current value.
decrementAndGet(int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Atomically decrement by one the element at index i.
decrementAndGet(T) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Atomically decrement by one the current value.
decrementAndGet() - Method in class java.util.concurrent.atomic.AtomicLong
Atomically decrement by one the current value.
decrementAndGet(int) - Method in class java.util.concurrent.atomic.AtomicLongArray
Atomically decrement the element at index i.
decrementAndGet(T) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Atomically decrement by one the current value.
destroy() - Method in class java.lang.Thread
Destroys this thread, without any cleanup.
destroy() - Method in class java.lang.ThreadGroup
Destroys this thread group and all of its subgroups.
dumpStack() - Static method in class java.lang.Thread
Prints a stack trace of the current thread.

E

Exchanger - class java.util.concurrent.Exchanger.
An Exchanger provides a synchronization point at which two threads can exchange objects.
Exchanger() - Constructor for class java.util.concurrent.Exchanger
Create a new Exchanger.
ExecutionException - exception java.util.concurrent.ExecutionException.
Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception.
ExecutionException() - Constructor for class java.util.concurrent.ExecutionException
Constructs a ExecutionException with no detail message.
ExecutionException(String) - Constructor for class java.util.concurrent.ExecutionException
Constructs a ExecutionException with the specified detail message.
ExecutionException(String, Throwable) - Constructor for class java.util.concurrent.ExecutionException
Constructs a ExecutionException with the specified detail message and cause.
ExecutionException(Throwable) - Constructor for class java.util.concurrent.ExecutionException
Constructs a ExecutionException with the specified cause.
Executor - interface java.util.concurrent.Executor.
An object that executes submitted Runnable tasks.
ExecutorService - interface java.util.concurrent.ExecutorService.
An Executor that provides methods to manage termination.
Executors - class java.util.concurrent.Executors.
Factory and utility methods for Executor, ExecutorService, Future, and Cancellable classes defined in this package.
element() - Method in class java.util.AbstractQueue
Retrieves, but does not remove, the head of this queue.
element() - Method in class java.util.LinkedList
Retrieves, but does not remove, the head (first element) of this list.
element() - Method in interface java.util.Queue
Retrieves, but does not remove, the head of this queue.
elements() - Method in class java.util.concurrent.ConcurrentHashMap
Returns an enumeration of the values in this table.
entrySet() - Method in class java.util.AbstractMap
Returns a set view of the mappings contained in this map.
entrySet() - Method in interface java.util.Map
Returns a set view of the mappings contained in this map.
entrySet() - Method in class java.util.concurrent.ConcurrentHashMap
Returns a collection view of the mappings contained in this map.
enumerate(Thread[]) - Static method in class java.lang.Thread
Copies into the specified array every active thread in the current thread's thread group and its subgroups.
enumerate(Thread[]) - Method in class java.lang.ThreadGroup
Copies into the specified array every active thread in this thread group and its subgroups.
enumerate(Thread[], boolean) - Method in class java.lang.ThreadGroup
Copies into the specified array every active thread in this thread group.
enumerate(ThreadGroup[]) - Method in class java.lang.ThreadGroup
Copies into the specified array references to every active subgroup in this thread group.
enumerate(ThreadGroup[], boolean) - Method in class java.lang.ThreadGroup
Copies into the specified array references to every active subgroup in this thread group.
equals(Object) - Method in class java.util.AbstractList
Compares the specified object with this list for equality.
equals(Object) - Method in class java.util.AbstractMap
Compares the specified object with this map for equality.
equals(Object) - Method in class java.util.AbstractSet
Compares the specified object with this set for equality.
equals(Object) - Method in interface java.util.Collection
Compares the specified object with this collection for equality.
equals(Object) - Method in interface java.util.List
Compares the specified object with this list for equality.
equals(Object) - Method in interface java.util.Map.Entry
Compares the specified object with this entry for equality.
equals(Object) - Method in interface java.util.Map
Compares the specified object with this map for equality.
equals(Object) - Method in interface java.util.Set
Compares the specified object with this set for equality.
equals(Object) - Method in class java.util.concurrent.CopyOnWriteArrayList
Compares the specified Object with this List for equality.
err - Static variable in class java.lang.System
The "standard" error output stream.
exchange(V) - Method in class java.util.concurrent.Exchanger
Waits for another thread to arrive at this exchange point (unless it is interrupted), and then transfers the given object to it, receiving its object in return.
exchange(V, long, TimeUnit) - Method in class java.util.concurrent.Exchanger
Waits for another thread to arrive at this exchange point (unless it is interrupted, or the specified waiting time elapses), and then transfers the given object to it, receiving its object in return.
execute(Runnable) - Method in interface java.util.concurrent.Executor
Executes the given command at some time in the future.
execute(Executor, Runnable) - Static method in class java.util.concurrent.Executors
Executes a Runnable task and returns a Cancellable representing that task.
execute(Executor, Runnable, T) - Static method in class java.util.concurrent.Executors
Executes a Runnable task and returns a Future representing that task.
execute(Executor, Callable) - Static method in class java.util.concurrent.Executors
Executes a value-returning task and returns a Future representing the pending results of the task.
execute(Runnable) - Method in class java.util.concurrent.ScheduledExecutor
Execute command with zero required delay.
execute(Runnable) - Method in class java.util.concurrent.ThreadPoolExecutor
Executes the given task sometime in the future.
exit(int) - Static method in class java.lang.System
Terminates the currently running Java Virtual Machine.

F

FairSemaphore - class java.util.concurrent.FairSemaphore.
A semaphore guaranteeing that threads invoking any of the acquire methods are allocated permits in the order in which their invocation of those methods was processed (first-in-first-out; FIFO).
FairSemaphore(long) - Constructor for class java.util.concurrent.FairSemaphore
Construct a FairSemaphore with the given number of permits.
Future - interface java.util.concurrent.Future.
A Future represents the result of an asynchronous computation.
FutureTask - class java.util.concurrent.FutureTask.
A cancellable asynchronous computation.
FutureTask(Callable) - Constructor for class java.util.concurrent.FutureTask
Constructs a FutureTask that will upon running, execute the given Callable.
FutureTask(Runnable, V) - Constructor for class java.util.concurrent.FutureTask
Constructs a FutureTask that will upon running, execute the given Runnable, and arrange that get will return the given result on successful completion.
finalize() - Method in class java.util.concurrent.ThreadPoolExecutor
Invokes shutdown when this executor is no longer referenced.

G

gc() - Static method in class java.lang.System
Runs the garbage collector.
get() - Method in class java.lang.ThreadLocal
Returns the value in the current thread's copy of this thread-local variable.
get(int) - Method in class java.util.AbstractList
Returns the element at the specified position in this list.
get(Object) - Method in class java.util.AbstractMap
Returns the value to which this map maps the specified key.
get(int) - Method in class java.util.AbstractSequentialList
Returns the element at the specified position in this list.
get(int) - Method in class java.util.LinkedList
Returns the element at the specified position in this list.
get(int) - Method in interface java.util.List
Returns the element at the specified position in this list.
get(Object) - Method in interface java.util.Map
Returns the value to which this map maps the specified key.
get() - Method in class java.util.concurrent.CancellableTask.InnerCancellableFuture
Waits if necessary for the call to callable.call to complete, and then retrieves its result.
get(long, TimeUnit) - Method in class java.util.concurrent.CancellableTask.InnerCancellableFuture
Waits if necessary for at most the given time for the call to callable.call to complete, and then retrieves its result.
get(Object) - Method in class java.util.concurrent.ConcurrentHashMap
Returns the value to which the specified key is mapped in this table.
get(int) - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns the element at the specified position in this list.
get() - Method in interface java.util.concurrent.Future
Waits if necessary for computation to complete, and then retrieves its result.
get(long, TimeUnit) - Method in interface java.util.concurrent.Future
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result.
get() - Method in class java.util.concurrent.FutureTask
Waits if necessary for the computation to complete, and then retrieves its result.
get(long, TimeUnit) - Method in class java.util.concurrent.FutureTask
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result.
get() - Method in class java.util.concurrent.atomic.AtomicBoolean
Returns the current value.
get() - Method in class java.util.concurrent.atomic.AtomicInteger
Get the current value.
get(int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Get the current value at position i.
get(T) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Get the current value held in the field by the given object.
get() - Method in class java.util.concurrent.atomic.AtomicLong
Get the current value.
get(int) - Method in class java.util.concurrent.atomic.AtomicLongArray
Get the current value at position i.
get(T) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Get the current value held in the field by the given object.
get(boolean[]) - Method in class java.util.concurrent.atomic.AtomicMarkableReference
Returns the current values of both the reference and the mark.
get() - Method in class java.util.concurrent.atomic.AtomicReference
Get the current value.
get(int) - Method in class java.util.concurrent.atomic.AtomicReferenceArray
Get the current value at position i.
get(T) - Method in class java.util.concurrent.atomic.AtomicReferenceFieldUpdater
Get the current value held in the field by the given object.
get(int[]) - Method in class java.util.concurrent.atomic.AtomicStampedReference
Returns the current values of both the reference and the stamp.
getActiveCount() - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the approximate number of threads that are actively executing tasks.
getAllStackTraces() - Static method in class java.lang.Thread
Returns a map of stack traces for all live threads.
getAndAdd(int) - Method in class java.util.concurrent.atomic.AtomicInteger
Atomically add the given value to current value.
getAndAdd(int, int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Atomically add the given value to element at index i.
getAndAdd(T, int) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Atomically add the given value to current value.
getAndAdd(long) - Method in class java.util.concurrent.atomic.AtomicLong
Atomically add the given value to current value.
getAndAdd(int, long) - Method in class java.util.concurrent.atomic.AtomicLongArray
Atomically add the given value to element at index i.
getAndAdd(T, long) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Atomically add the given value to current value.
getAndDecrement() - Method in class java.util.concurrent.atomic.AtomicInteger
Atomically decrement by one the current value.
getAndDecrement(int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Atomically decrement by one the element at index i.
getAndDecrement(T) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Atomically decrement by one the current value.
getAndDecrement() - Method in class java.util.concurrent.atomic.AtomicLong
Atomically decrement by one the current value.
getAndDecrement(int) - Method in class java.util.concurrent.atomic.AtomicLongArray
Atomically decrement by one the element at index i.
getAndDecrement(T) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Atomically decrement by one the current value.
getAndIncrement() - Method in class java.util.concurrent.atomic.AtomicInteger
Atomically increment by one the current value.
getAndIncrement(int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Atomically increment by one the element at index i.
getAndIncrement(T) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Atomically increment by one the current value.
getAndIncrement() - Method in class java.util.concurrent.atomic.AtomicLong
Atomically increment by one the current value.
getAndIncrement(int) - Method in class java.util.concurrent.atomic.AtomicLongArray
Atomically increment by one the element at index i.
getAndIncrement(T) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Atomically increment by one the current value.
getAndSet(boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
Sets to the given value and returns the previous value.
getAndSet(int) - Method in class java.util.concurrent.atomic.AtomicInteger
Set to the give value and return the old value.
getAndSet(int, int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Set the element at position i to the given value and return the old value.
getAndSet(T, int) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Set to the given value and return the old value.
getAndSet(long) - Method in class java.util.concurrent.atomic.AtomicLong
Set to the give value and return the old value.
getAndSet(int, long) - Method in class java.util.concurrent.atomic.AtomicLongArray
Set the element at position i to the given value and return the old value.
getAndSet(T, long) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Set to the given value and return the old value.
getAndSet(V) - Method in class java.util.concurrent.atomic.AtomicReference
Set to the given value and return the old value.
getAndSet(int, V) - Method in class java.util.concurrent.atomic.AtomicReferenceArray
Set the element at position i to the given value and return the old value.
getAndSet(T, V) - Method in class java.util.concurrent.atomic.AtomicReferenceFieldUpdater
Set to the given value and return the old value.
getCompletedTaskCount() - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the approximate total number of tasks that have completed execution.
getContextClassLoader() - Method in class java.lang.Thread
Returns the context ClassLoader for this Thread.
getContinueExistingPeriodicTasksAfterShutdownPolicy() - Method in class java.util.concurrent.ScheduledExecutor
Get the policy on whether to continue executing existing periodic tasks even when this executor has been shutdown.
getCorePoolSize() - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the core number of threads.
getCount() - Method in class java.util.concurrent.CountDownLatch
Returns the current count.
getDefaultUncaughtExceptionHandler() - Static method in class java.lang.Thread
Returns the default handler invoked when a Thread abruptly terminates due to an uncaught exception.
getDelay(TimeUnit) - Method in interface java.util.concurrent.Delayed
Get the delay associated with this object, in the given time unit.
getExecuteExistingDelayedTasksAfterShutdownPolicy() - Method in class java.util.concurrent.ScheduledExecutor
Get policy on whether to execute existing delayed tasks even when this executor has been shutdown.
getFirst() - Method in class java.util.LinkedList
Returns the first element in this list.
getHoldCount() - Method in class java.util.concurrent.locks.ReentrantLock
Queries the number of holds on this lock by the current thread.
getId() - Method in class java.lang.Thread
Returns the identifier of this Thread.
getKeepAliveTime(TimeUnit) - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the thread keep-alive time, which is the amount of time which threads in excess of the core pool size may remain idle before being terminated.
getKey() - Method in interface java.util.Map.Entry
Returns the key corresponding to this entry.
getLargestPoolSize() - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the largest number of threads that have ever simultaneously been in the pool.
getLast() - Method in class java.util.LinkedList
Returns the last element in this list.
getMaxPriority() - Method in class java.lang.ThreadGroup
Returns the maximum priority of this thread group.
getMaximumPoolSize() - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the maximum allowed number of threads.
getName() - Method in class java.lang.Thread
Returns this thread's name.
getName() - Method in class java.lang.ThreadGroup
Returns the name of this thread group.
getNumberWaiting() - Method in class java.util.concurrent.CyclicBarrier
Return the number of parties currently waiting at the barrier.
getOwner() - Method in class java.util.concurrent.locks.ReentrantLock
Returns the thread that currently owns the lock, or null if not owned.
getParent() - Method in class java.lang.ThreadGroup
Returns the parent of this thread group.
getParties() - Method in class java.util.concurrent.CyclicBarrier
Return the number of parties required to trip this barrier.
getPoolSize() - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the current number of threads in the pool.
getPriority() - Method in class java.lang.Thread
Returns this thread's priority.
getProperties() - Static method in class java.lang.System
Determines the current system properties.
getProperty(String) - Static method in class java.lang.System
Gets the system property indicated by the specified key.
getProperty(String, String) - Static method in class java.lang.System
Gets the system property indicated by the specified key.
getQueue() - Method in class java.util.concurrent.ScheduledExecutor
Returns the task queue used by this executor.
getQueue() - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the task queue used by this executor.
getQueueLength() - Method in class java.util.concurrent.locks.ReentrantLock
Returns an estimate of the number of threads waiting to acquire this lock.
getQueuedThreads() - Method in class java.util.concurrent.locks.ReentrantLock
Returns a collection containing threads that may be waiting to acquire this lock.
getReference() - Method in class java.util.concurrent.atomic.AtomicMarkableReference
Returns the current value of the reference.
getReference() - Method in class java.util.concurrent.atomic.AtomicStampedReference
Returns the current value of the reference.
getRejectedExecutionHandler() - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the current handler for unexecutable tasks.
getRunnable() - Method in class java.util.concurrent.CancellableTask
Return the Runnable forming the basis of this task.
getSecurityManager() - Static method in class java.lang.System
Gets the system security interface.
getStackTrace() - Method in class java.lang.Thread
Returns an array of stack trace elements representing the stack dump of this thread.
getStamp() - Method in class java.util.concurrent.atomic.AtomicStampedReference
Returns the current value of the stamp.
getTaskCount() - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the approximate total number of tasks that have been scheduled for execution.
getThreadFactory() - Method in class java.util.concurrent.ThreadPoolExecutor
Returns the thread factory used to create new threads.
getThreadGroup() - Method in class java.lang.Thread
Returns the thread group to which this thread belongs.
getUncaughtExceptionHandler() - Method in class java.lang.Thread
Returns the handler invoked when this Thread abruptly terminates due to an uncaught exception.
getValue() - Method in interface java.util.Map.Entry
Returns the value corresponding to this entry.
getWaitQueueLength() - Method in class java.util.concurrent.locks.ReentrantLock.ConditionObject
Returns an estimate of the number of threads are waiting on this condition.
getWaitingThreads() - Method in class java.util.concurrent.locks.ReentrantLock.ConditionObject
Returns a collection containing those threads that may be waiting on this Condition.
getenv(String) - Static method in class java.lang.System
Deprecated. The preferred way to extract system-dependent information is the system properties of the java.lang.System.getProperty methods and the corresponding getTypeName methods of the Boolean, Integer, and Long primitive types. For example:
     String classPath = System.getProperty("java.class.path",".");
 
if (Boolean.getBoolean("myapp.exper.mode")) enableExpertCommands();

H

hasNext() - Method in interface java.util.Iterator
Returns true if the iteration has more elements.
hasWaiters() - Method in class java.util.concurrent.locks.ReentrantLock.ConditionObject
Queries whether any threads are waiting on this condition.
hashCode() - Method in class java.util.AbstractList
Returns the hash code value for this list.
hashCode() - Method in class java.util.AbstractMap
Returns the hash code value for this map.
hashCode() - Method in class java.util.AbstractSet
Returns the hash code value for this set.
hashCode() - Method in interface java.util.Collection
Returns the hash code value for this collection.
hashCode() - Method in interface java.util.List
Returns the hash code value for this list.
hashCode() - Method in interface java.util.Map.Entry
Returns the hash code value for this map entry.
hashCode() - Method in interface java.util.Map
Returns the hash code value for this map.
hashCode() - Method in interface java.util.Set
Returns the hash code value for this set.
hashCode() - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns the hash code value for this List.
holdsLock(Object) - Static method in class java.lang.Thread
Returns true if and only if the current thread holds the monitor lock on the specified object.

I

Iterator - interface java.util.Iterator.
An iterator over a collection.
identityHashCode(Object) - Static method in class java.lang.System
Returns the same hash code for the given object as would be returned by the default method hashCode(), whether or not the given object's class overrides hashCode().
in - Static variable in class java.lang.System
The "standard" input stream.
incrementAndGet() - Method in class java.util.concurrent.atomic.AtomicInteger
Atomically increment by one the current value.
incrementAndGet(int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Atomically increment by one the element at index i.
incrementAndGet(T) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Atomically increment by one the current value.
incrementAndGet() - Method in class java.util.concurrent.atomic.AtomicLong
Atomically increment by one the current value.
incrementAndGet(int) - Method in class java.util.concurrent.atomic.AtomicLongArray
Atomically increment the element at index i.
incrementAndGet(T) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Atomically increment by one the current value.
indexOf(Object) - Method in class java.util.AbstractList
Returns the index in this list of the first occurence of the specified element, or -1 if the list does not contain this element.
indexOf(Object) - Method in class java.util.LinkedList
Returns the index in this list of the first occurrence of the specified element, or -1 if the List does not contain this element.
indexOf(Object) - Method in interface java.util.List
Returns the index in this list of the first occurrence of the specified element, or -1 if this list does not contain this element.
indexOf(Object) - Method in class java.util.concurrent.CopyOnWriteArrayList
Searches for the first occurrence of the given argument, testing for equality using the equals method.
indexOf(E, int) - Method in class java.util.concurrent.CopyOnWriteArrayList
Searches for the first occurrence of the given argument, beginning the search at index, and testing for equality using the equals method.
initialValue() - Method in class java.lang.ThreadLocal
Returns the current thread's initial value for this thread-local variable.
interrupt() - Method in class java.lang.Thread
Interrupts this thread.
interrupt() - Method in class java.lang.ThreadGroup
Interrupts all threads in this thread group.
interrupted() - Static method in class java.lang.Thread
Tests whether the current thread has been interrupted.
invoke(Executor, Runnable) - Static method in class java.util.concurrent.Executors
Executes a Runnable task and blocks until it completes normally or throws an exception.
invoke(Executor, Callable) - Static method in class java.util.concurrent.Executors
Executes a value-returning task and blocks until it returns a value or throws an exception.
isAlive() - Method in class java.lang.Thread
Tests if this thread is alive.
isBroken() - Method in class java.util.concurrent.CyclicBarrier
Query if this barrier is in a broken state.
isCancelled() - Method in interface java.util.concurrent.Cancellable
Returns true if this task was cancelled before it completed normally.
isCancelled() - Method in class java.util.concurrent.CancellableTask.InnerCancellableFuture
 
isCancelled() - Method in class java.util.concurrent.CancellableTask
 
isDaemon() - Method in class java.lang.Thread
Tests if this thread is a daemon thread.
isDaemon() - Method in class java.lang.ThreadGroup
Tests if this thread group is a daemon thread group.
isDestroyed() - Method in class java.lang.ThreadGroup
Tests if this thread group has been destroyed.
isDone() - Method in interface java.util.concurrent.Cancellable
Returns true if this task completed.
isDone() - Method in class java.util.concurrent.CancellableTask.InnerCancellableFuture
 
isDone() - Method in class java.util.concurrent.CancellableTask
 
isEmpty() - Method in class java.util.AbstractCollection
Returns true if this collection contains no elements.
isEmpty() - Method in class java.util.AbstractMap
Returns true if this map contains no key-value mappings.
isEmpty() - Method in interface java.util.Collection
Returns true if this collection contains no elements.
isEmpty() - Method in interface java.util.List
Returns true if this list contains no elements.
isEmpty() - Method in interface java.util.Map
Returns true if this map contains no key-value mappings.
isEmpty() - Method in interface java.util.Set
Returns true if this set contains no elements.
isEmpty() - Method in class java.util.concurrent.ConcurrentHashMap
 
isEmpty() - Method in class java.util.concurrent.ConcurrentLinkedQueue
 
isEmpty() - Method in class java.util.concurrent.CopyOnWriteArrayList
Tests if this list has no elements.
isEmpty() - Method in class java.util.concurrent.CopyOnWriteArraySet
 
isEmpty() - Method in class java.util.concurrent.SynchronousQueue
Always returns true.
isHeldByCurrentThread() - Method in class java.util.concurrent.locks.ReentrantLock
Queries if this lock is held by the current thread.
isInterrupted() - Method in class java.lang.Thread
Tests whether this thread has been interrupted.
isLocked() - Method in class java.util.concurrent.locks.ReentrantLock
Queries if this lock is held by any thread.
isMarked() - Method in class java.util.concurrent.atomic.AtomicMarkableReference
Returns the current value of the mark.
isShutdown() - Method in interface java.util.concurrent.ExecutorService
Returns true if this executor has been shut down.
isShutdown() - Method in class java.util.concurrent.ThreadPoolExecutor
 
isTerminated() - Method in interface java.util.concurrent.ExecutorService
Returns true if all tasks have completed following shut down.
isTerminated() - Method in class java.util.concurrent.ThreadPoolExecutor
 
isTerminating() - Method in class java.util.concurrent.ThreadPoolExecutor
Return true if this executor is in the process of terminating after shutdown or shutdownNow but has not completely terminated.
iterator() - Method in class java.util.AbstractCollection
Returns an iterator over the elements contained in this collection.
iterator() - Method in class java.util.AbstractList
Returns an iterator over the elements in this list in proper sequence.
iterator() - Method in class java.util.AbstractSequentialList
Returns an iterator over the elements in this list (in proper sequence).
iterator() - Method in interface java.util.Collection
Returns an iterator over the elements in this collection.
iterator() - Method in interface java.util.List
Returns an iterator over the elements in this list in proper sequence.
iterator() - Method in class java.util.PriorityQueue
Returns an iterator over the elements in this queue.
iterator() - Method in interface java.util.Set
Returns an iterator over the elements in this set.
iterator() - Method in class java.util.concurrent.ArrayBlockingQueue
Returns an iterator over the elements in this queue in proper sequence.
iterator() - Method in class java.util.concurrent.ConcurrentLinkedQueue
Returns an iterator over the elements in this queue in proper sequence.
iterator() - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns an Iterator over the elements contained in this collection.
iterator() - Method in class java.util.concurrent.CopyOnWriteArraySet
 
iterator() - Method in class java.util.concurrent.DelayQueue
Returns an iterator over the elements in this queue.
iterator() - Method in class java.util.concurrent.LinkedBlockingQueue
Returns an iterator over the elements in this queue in proper sequence.
iterator() - Method in class java.util.concurrent.PriorityBlockingQueue
Returns an iterator over the elements in this queue.
iterator() - Method in class java.util.concurrent.SynchronousQueue
Returns an empty iterator in which hasNext always returns false.

J

java.lang - package java.lang
 
java.util - package java.util
 
java.util.concurrent - package java.util.concurrent
Utility classes commonly useful in concurrent programming.
java.util.concurrent.atomic - package java.util.concurrent.atomic
A small toolkit of classes that support lock-free thread-safe programming on single variables.
java.util.concurrent.locks - package java.util.concurrent.locks
Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors.
join(long) - Method in class java.lang.Thread
Waits at most millis milliseconds for this thread to die.
join(long, int) - Method in class java.lang.Thread
Waits at most millis milliseconds plus nanos nanoseconds for this thread to die.
join() - Method in class java.lang.Thread
Waits for this thread to die.

K

keySet() - Method in class java.util.AbstractMap
Returns a Set view of the keys contained in this map.
keySet() - Method in interface java.util.Map
Returns a set view of the keys contained in this map.
keySet() - Method in class java.util.concurrent.ConcurrentHashMap
Returns a set view of the keys contained in this map.
keys() - Method in class java.util.concurrent.ConcurrentHashMap
Returns an enumeration of the keys in this table.

L

LinkedBlockingQueue - class java.util.concurrent.LinkedBlockingQueue.
An optionally-bounded blocking queue based on linked nodes.
LinkedBlockingQueue() - Constructor for class java.util.concurrent.LinkedBlockingQueue
Creates a LinkedBlockingQueue with a capacity of Integer.MAX_VALUE.
LinkedBlockingQueue(int) - Constructor for class java.util.concurrent.LinkedBlockingQueue
Creates a LinkedBlockingQueue with the given (fixed) capacity.
LinkedBlockingQueue(Collection) - Constructor for class java.util.concurrent.LinkedBlockingQueue
Creates a LinkedBlockingQueue with a capacity of Integer.MAX_VALUE, initially containing the elements of the given collection, added in traversal order of the collection's iterator.
LinkedList - class java.util.LinkedList.
Linked list implementation of the List interface.
LinkedList() - Constructor for class java.util.LinkedList
Constructs an empty list.
LinkedList(Collection) - Constructor for class java.util.LinkedList
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
List - interface java.util.List.
An ordered collection (also known as a sequence).
Lock - interface java.util.concurrent.locks.Lock.
Lock implementations provide more extensive locking operations than can be obtained using synchronized methods and statements.
LockSupport - class java.util.concurrent.locks.LockSupport.
Basic thread blocking primitives for creating locks and other synchronization classes.
lastIndexOf(Object) - Method in class java.util.AbstractList
Returns the index in this list of the last occurence of the specified element, or -1 if the list does not contain this element.
lastIndexOf(Object) - Method in class java.util.LinkedList
Returns the index in this list of the last occurrence of the specified element, or -1 if the list does not contain this element.
lastIndexOf(Object) - Method in interface java.util.List
Returns the index in this list of the last occurrence of the specified element, or -1 if this list does not contain this element.
lastIndexOf(Object) - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns the index of the last occurrence of the specified object in this list.
lastIndexOf(E, int) - Method in class java.util.concurrent.CopyOnWriteArrayList
Searches backwards for the specified object, starting from the specified index, and returns an index to it.
length() - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Return the length of the array.
length() - Method in class java.util.concurrent.atomic.AtomicLongArray
Return the length of the array.
length() - Method in class java.util.concurrent.atomic.AtomicReferenceArray
Return the length of the array.
list() - Method in class java.lang.ThreadGroup
Prints information about this thread group to the standard output.
listIterator() - Method in class java.util.AbstractList
Returns an iterator of the elements in this list (in proper sequence).
listIterator(int) - Method in class java.util.AbstractList
Returns a list iterator of the elements in this list (in proper sequence), starting at the specified position in the list.
listIterator(int) - Method in class java.util.AbstractSequentialList
Returns a list iterator over the elements in this list (in proper sequence).
listIterator(int) - Method in class java.util.LinkedList
Returns a list-iterator of the elements in this list (in proper sequence), starting at the specified position in the list.
listIterator() - Method in interface java.util.List
Returns a list iterator of the elements in this list (in proper sequence).
listIterator(int) - Method in interface java.util.List
Returns a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
listIterator() - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns an Iterator of the elements in this List (in proper sequence).
listIterator(int) - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns a ListIterator of the elements in this List (in proper sequence), starting at the specified position in the List.
load(String) - Static method in class java.lang.System
Loads a code file with the specified filename from the local file system as a dynamic library.
loadLibrary(String) - Static method in class java.lang.System
Loads the system library specified by the libname argument.
lock() - Method in interface java.util.concurrent.locks.Lock
Acquires the lock.
lock() - Method in class java.util.concurrent.locks.ReentrantLock
Acquire the lock.
lockInterruptibly() - Method in interface java.util.concurrent.locks.Lock
Acquires the lock unless the current thread is interrupted.
lockInterruptibly() - Method in class java.util.concurrent.locks.ReentrantLock
Acquires the lock unless the current thread is interrupted.

M

MAX_PRIORITY - Static variable in class java.lang.Thread
The maximum priority that a thread can have.
MICROSECONDS - Static variable in class java.util.concurrent.TimeUnit
Unit for one-microsecond granularities.
MILLISECONDS - Static variable in class java.util.concurrent.TimeUnit
Unit for one-millisecond granularities.
MIN_PRIORITY - Static variable in class java.lang.Thread
The minimum priority that a thread can have.
Map - interface java.util.Map.
An object that maps keys to values.
Map.Entry - interface java.util.Map.Entry.
A map entry (key-value pair).
mapLibraryName(String) - Static method in class java.lang.System
Maps a library name into a platform-specific string representing a native library.
modCount - Variable in class java.util.AbstractList
The number of times this list has been structurally modified.

N

NANOSECONDS - Static variable in class java.util.concurrent.TimeUnit
Unit for one-nanosecond granularities.
NORM_PRIORITY - Static variable in class java.lang.Thread
The default priority that is assigned to a thread.
nanoTime() - Static method in class java.lang.System
Returns the current value of the system timer, in nanoseconds.
newCachedThreadPool() - Static method in class java.util.concurrent.Executors
Creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available.
newCachedThreadPool(ThreadFactory) - Static method in class java.util.concurrent.Executors
Creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available, and uses the provided ThreadFactory to create new threads when needed.
newCondition() - Method in interface java.util.concurrent.locks.Lock
Returns a new Condition instance that is bound to this Lock instance.
newCondition() - Method in class java.util.concurrent.locks.ReentrantLock
Returns a Condition instance for use with this Lock instance.
newFixedThreadPool(int) - Static method in class java.util.concurrent.Executors
Creates a thread pool that reuses a fixed set of threads operating off a shared unbounded queue.
newFixedThreadPool(int, ThreadFactory) - Static method in class java.util.concurrent.Executors
Creates a thread pool that reuses a fixed set of threads operating off a shared unbounded queue, using the provided ThreadFactory to create new threads when needed.
newSingleThreadExecutor() - Static method in class java.util.concurrent.Executors
Creates an Executor that uses a single worker thread operating off an unbounded queue.
newSingleThreadExecutor(ThreadFactory) - Static method in class java.util.concurrent.Executors
Creates an Executor that uses a single worker thread operating off an unbounded queue, and uses the provided ThreadFactory to create new threads when needed.
newThread(Runnable) - Method in interface java.util.concurrent.ThreadFactory
Constructs a new Thread.
newUpdater(Class, String) - Static method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Creates an updater for objects with the given field.
newUpdater(Class, String) - Static method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Creates an updater for objects with the given field.
newUpdater(Class, Class, String) - Static method in class java.util.concurrent.atomic.AtomicReferenceFieldUpdater
Creates an updater for objects with the given field.
next() - Method in interface java.util.Iterator
Returns the next element in the iteration.

O

offer(E) - Method in class java.util.LinkedList
Adds the specified element as the tail (last element) of this list.
offer(E) - Method in class java.util.PriorityQueue
Inserts the specified element into this priority queue.
offer(E) - Method in interface java.util.Queue
Inserts the specified element into this queue, if possible.
offer(E) - Method in class java.util.concurrent.ArrayBlockingQueue
Inserts the specified element at the tail of this queue if possible, returning immediately if this queue is full.
offer(E, long, TimeUnit) - Method in class java.util.concurrent.ArrayBlockingQueue
Inserts the specified element at the tail of this queue, waiting if necessary up to the specified wait time for space to become available.
offer(E) - Method in interface java.util.concurrent.BlockingQueue
Inserts the specified element into this queue, if possible.
offer(E, long, TimeUnit) - Method in interface java.util.concurrent.BlockingQueue
Inserts the specified element into this queue, waiting if necessary up to the specified wait time for space to become available.
offer(E) - Method in class java.util.concurrent.ConcurrentLinkedQueue
Inserts the specified element to the tail of this queue.
offer(E) - Method in class java.util.concurrent.DelayQueue
Inserts the specified element into this delay queue.
offer(E, long, TimeUnit) - Method in class java.util.concurrent.DelayQueue
Inserts the specified element into this delay queue.
offer(E, long, TimeUnit) - Method in class java.util.concurrent.LinkedBlockingQueue
Inserts the specified element at the tail of this queue, waiting if necessary up to the specified wait time for space to become available.
offer(E) - Method in class java.util.concurrent.LinkedBlockingQueue
Inserts the specified element at the tail of this queue if possible, returning immediately if this queue is full.
offer(E) - Method in class java.util.concurrent.PriorityBlockingQueue
Inserts the specified element into this priority queue.
offer(E, long, TimeUnit) - Method in class java.util.concurrent.PriorityBlockingQueue
Inserts the specified element into this priority queue.
offer(E, long, TimeUnit) - Method in class java.util.concurrent.SynchronousQueue
Inserts the specified element into this queue, waiting if necessary up to the specified wait time for another thread to receive it.
offer(E) - Method in class java.util.concurrent.SynchronousQueue
Inserts the specified element into this queue, if another thread is waiting to receive it.
out - Static variable in class java.lang.System
The "standard" output stream.

P

PriorityBlockingQueue - class java.util.concurrent.PriorityBlockingQueue.
An unbounded blocking queue that uses the same ordering rules as class PriorityQueue and supplies blocking retrieval operations.
PriorityBlockingQueue() - Constructor for class java.util.concurrent.PriorityBlockingQueue
Creates a PriorityBlockingQueue with the default initial capacity (11) that orders its elements according to their natural ordering (using Comparable).
PriorityBlockingQueue(int) - Constructor for class java.util.concurrent.PriorityBlockingQueue
Creates a PriorityBlockingQueue with the specified initial capacity that orders its elements according to their natural ordering (using Comparable).
PriorityBlockingQueue(int, Comparator) - Constructor for class java.util.concurrent.PriorityBlockingQueue
Creates a PriorityBlockingQueue with the specified initial capacity that orders its elements according to the specified comparator.
PriorityBlockingQueue(Collection) - Constructor for class java.util.concurrent.PriorityBlockingQueue
Creates a PriorityBlockingQueue containing the elements in the specified collection.
PriorityQueue - class java.util.PriorityQueue.
An unbounded priority queue based on a priority heap.
PriorityQueue() - Constructor for class java.util.PriorityQueue
Creates a PriorityQueue with the default initial capacity (11) that orders its elements according to their natural ordering (using Comparable).
PriorityQueue(int) - Constructor for class java.util.PriorityQueue
Creates a PriorityQueue with the specified initial capacity that orders its elements according to their natural ordering (using Comparable).
PriorityQueue(int, Comparator) - Constructor for class java.util.PriorityQueue
Creates a PriorityQueue with the specified initial capacity that orders its elements according to the specified comparator.
PriorityQueue(Collection) - Constructor for class java.util.PriorityQueue
Creates a PriorityQueue containing the elements in the specified collection.
PriorityQueue(PriorityQueue) - Constructor for class java.util.PriorityQueue
Creates a PriorityQueue containing the elements in the specified collection.
PriorityQueue(SortedSet) - Constructor for class java.util.PriorityQueue
Creates a PriorityQueue containing the elements in the specified collection.
parentOf(ThreadGroup) - Method in class java.lang.ThreadGroup
Tests if this thread group is either the thread group argument or one of its ancestor thread groups.
park() - Static method in class java.util.concurrent.locks.LockSupport
Disables the current thread for thread scheduling purposes unless the permit is available.
parkNanos(long) - Static method in class java.util.concurrent.locks.LockSupport
Disables the current thread for thread scheduling purposes, for up to the specified waiting time, unless the permit is available.
parkUntil(long) - Static method in class java.util.concurrent.locks.LockSupport
Disables the current thread for thread scheduling purposes, until the specified deadline, unless the permit is available.
peek() - Method in class java.util.LinkedList
Retrieves, but does not remove, the head (first element) of this list.
peek() - Method in class java.util.PriorityQueue
 
peek() - Method in interface java.util.Queue
Retrieves, but does not remove, the head of this queue, returning null if this queue is empty.
peek() - Method in class java.util.concurrent.ArrayBlockingQueue
 
peek() - Method in class java.util.concurrent.ConcurrentLinkedQueue
 
peek() - Method in class java.util.concurrent.DelayQueue
 
peek() - Method in class java.util.concurrent.LinkedBlockingQueue
 
peek() - Method in class java.util.concurrent.PriorityBlockingQueue
 
peek() - Method in class java.util.concurrent.SynchronousQueue
Always returns null.
poll() - Method in class java.util.LinkedList
Retrieves and removes the head (first element) of this list.
poll() - Method in class java.util.PriorityQueue
 
poll() - Method in interface java.util.Queue
Retrieves and removes the head of this queue, or null if this queue is empty.
poll() - Method in class java.util.concurrent.ArrayBlockingQueue
 
poll(long, TimeUnit) - Method in class java.util.concurrent.ArrayBlockingQueue
 
poll(long, TimeUnit) - Method in interface java.util.concurrent.BlockingQueue
Retrieves and removes the head of this queue, waiting if necessary up to the specified wait time if no elements are present on this queue.
poll() - Method in class java.util.concurrent.ConcurrentLinkedQueue
 
poll(long, TimeUnit) - Method in class java.util.concurrent.DelayQueue
 
poll() - Method in class java.util.concurrent.DelayQueue
 
poll(long, TimeUnit) - Method in class java.util.concurrent.LinkedBlockingQueue
 
poll() - Method in class java.util.concurrent.LinkedBlockingQueue
 
poll() - Method in class java.util.concurrent.PriorityBlockingQueue
 
poll(long, TimeUnit) - Method in class java.util.concurrent.PriorityBlockingQueue
 
poll(long, TimeUnit) - Method in class java.util.concurrent.SynchronousQueue
Retrieves and removes the head of this queue, waiting if necessary up to the specified wait time, for another thread to insert it.
poll() - Method in class java.util.concurrent.SynchronousQueue
Retrieves and removes the head of this queue, if another thread is currently making an element available.
prestartAllCoreThreads() - Method in class java.util.concurrent.ThreadPoolExecutor
Start all core threads, causing them to idly wait for work.
prestartCoreThread() - Method in class java.util.concurrent.ThreadPoolExecutor
Start a core thread, causing it to idly wait for work.
purge() - Method in class java.util.concurrent.ThreadPoolExecutor
Tries to remove from the work queue all Cancellable tasks that have been cancelled.
put(K, V) - Method in class java.util.AbstractMap
Associates the specified value with the specified key in this map (optional operation).
put(K, V) - Method in interface java.util.Map
Associates the specified value with the specified key in this map (optional operation).
put(E) - Method in class java.util.concurrent.ArrayBlockingQueue
Adds the specified element to the tail of this queue, waiting if necessary for space to become available.
put(E) - Method in interface java.util.concurrent.BlockingQueue
Adds the specified element to this queue, waiting if necessary for space to become available.
put(K, V) - Method in class java.util.concurrent.ConcurrentHashMap
Maps the specified key to the specified value in this table.
put(E) - Method in class java.util.concurrent.DelayQueue
Adds the specified element to this delay queue.
put(E) - Method in class java.util.concurrent.LinkedBlockingQueue
Adds the specified element to the tail of this queue, waiting if necessary for space to become available.
put(E) - Method in class java.util.concurrent.PriorityBlockingQueue
Adds the specified element to this priority queue.
put(E) - Method in class java.util.concurrent.SynchronousQueue
Adds the specified element to this queue, waiting if necessary for another thread to receive it.
putAll(Map) - Method in class java.util.AbstractMap
Copies all of the mappings from the specified map to this map (optional operation).
putAll(Map) - Method in interface java.util.Map
Copies all of the mappings from the specified map to this map (optional operation).
putAll(Map) - Method in class java.util.concurrent.ConcurrentHashMap
Copies all of the mappings from the specified map to this one.
putIfAbsent(K, V) - Method in class java.util.concurrent.ConcurrentHashMap
If the specified key is not already associated with a value, associate it with the given value.
putIfAbsent(K, V) - Method in interface java.util.concurrent.ConcurrentMap
If the specified key is not already associated with a value, associate it with the given value.

Q

Queue - interface java.util.Queue.
A collection designed for holding elements prior to processing.

R

ReadWriteLock - interface java.util.concurrent.locks.ReadWriteLock.
A ReadWriteLock maintains a pair of associated locks, one for read-only operations and one for writing.
ReentrantLock - class java.util.concurrent.locks.ReentrantLock.
A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor lock accessed using synchronized methods and statements, but with extended capabilities.
ReentrantLock() - Constructor for class java.util.concurrent.locks.ReentrantLock
Creates an instance of ReentrantLock.
ReentrantLock(boolean) - Constructor for class java.util.concurrent.locks.ReentrantLock
Creates an instance of ReentrantLock with the given fairness policy.
ReentrantLock.ConditionObject - class java.util.concurrent.locks.ReentrantLock.ConditionObject.
Condition implementation for use with ReentrantLock.
ReentrantLock.ConditionObject(ReentrantLock) - Constructor for class java.util.concurrent.locks.ReentrantLock.ConditionObject
Constructor for use by subclasses to create a ConditionObject associated with given lock.
ReentrantReadWriteLock - class java.util.concurrent.locks.ReentrantReadWriteLock.
An implementation of ReadWriteLock supporting similar semantics to ReentrantLock.
ReentrantReadWriteLock() - Constructor for class java.util.concurrent.locks.ReentrantReadWriteLock
Creates a new ReentrantReadWriteLock with default ordering properties.
ReentrantReadWriteLock(boolean) - Constructor for class java.util.concurrent.locks.ReentrantReadWriteLock
Creates a new ReentrantReadWriteLock with the given fairness policy.
RejectedExecutionException - exception java.util.concurrent.RejectedExecutionException.
Exception thrown by an Executor when a task cannot be accepted for execution.
RejectedExecutionException() - Constructor for class java.util.concurrent.RejectedExecutionException
Constructs a RejectedExecutionException with no detail message.
RejectedExecutionException(String) - Constructor for class java.util.concurrent.RejectedExecutionException
Constructs a RejectedExecutionException with the specified detail message.
RejectedExecutionException(String, Throwable) - Constructor for class java.util.concurrent.RejectedExecutionException
Constructs a RejectedExecutionException with the specified detail message and cause.
RejectedExecutionException(Throwable) - Constructor for class java.util.concurrent.RejectedExecutionException
Constructs a RejectedExecutionException with the specified cause.
RejectedExecutionHandler - interface java.util.concurrent.RejectedExecutionHandler.
A handler for tasks that cannot be executed by a ThreadPoolExecutor.
readLock() - Method in interface java.util.concurrent.locks.ReadWriteLock
Return the lock used for reading.
readLock() - Method in class java.util.concurrent.locks.ReentrantReadWriteLock
 
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in interface java.util.concurrent.RejectedExecutionHandler
Method that may be invoked by a ThreadPoolExecutor when execute cannot accept a task.
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class java.util.concurrent.ThreadPoolExecutor.AbortPolicy
Always throws RejectedExecutionException
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy
Executes task r in the caller's thread, unless the executor has been shut down, in which case the task is discarded.
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy
Obtains and ignores the next task that the executor would otherwise execute, if one is immediately available, and then retries execution of task r, unless the executor is shut down, in which case task r is instead discarded.
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
Does nothing, which has the effect of discarding task r.
release() - Method in class java.util.concurrent.FairSemaphore
Releases a permit, returning it to the semaphore.
release(long) - Method in class java.util.concurrent.FairSemaphore
Releases the given number of permits, returning them to the semaphore.
release() - Method in class java.util.concurrent.Semaphore
Releases a permit, returning it to the semaphore.
remainingCapacity() - Method in class java.util.concurrent.ArrayBlockingQueue
Returns the number of elements that this queue can ideally (in the absence of memory or resource constraints) accept without blocking.
remainingCapacity() - Method in interface java.util.concurrent.BlockingQueue
Returns the number of elements that this queue can ideally (in the absence of memory or resource constraints) accept without blocking, or Integer.MAX_VALUE if there is no intrinsic limit.
remainingCapacity() - Method in class java.util.concurrent.DelayQueue
Always returns Integer.MAX_VALUE because a DelayQueue is not capacity constrained.
remainingCapacity() - Method in class java.util.concurrent.LinkedBlockingQueue
Returns the number of elements that this queue can ideally (in the absence of memory or resource constraints) accept without blocking.
remainingCapacity() - Method in class java.util.concurrent.PriorityBlockingQueue
Always returns Integer.MAX_VALUE because a PriorityBlockingQueue is not capacity constrained.
remainingCapacity() - Method in class java.util.concurrent.SynchronousQueue
Always returns zero.
remove() - Method in class java.lang.ThreadLocal
Removes the value for this ThreadLocal.
remove(Object) - Method in class java.util.AbstractCollection
Removes a single instance of the specified element from this collection, if it is present (optional operation).
remove(int) - Method in class java.util.AbstractList
Removes the element at the specified position in this list (optional operation).
remove(Object) - Method in class java.util.AbstractMap
Removes the mapping for this key from this map if present (optional operation).
remove() - Method in class java.util.AbstractQueue
Retrieves and removes the head of this queue.
remove(int) - Method in class java.util.AbstractSequentialList
Removes the element at the specified position in this list.
remove(Object) - Method in interface java.util.Collection
Removes a single instance of the specified element from this collection, if it is present (optional operation).
remove() - Method in interface java.util.Iterator
Removes from the underlying collection the last element returned by the iterator (optional operation).
remove(Object) - Method in class java.util.LinkedList
Removes the first occurrence of the specified element in this list.
remove(int) - Method in class java.util.LinkedList
Removes the element at the specified position in this list.
remove() - Method in class java.util.LinkedList
Retrieves and removes the head (first element) of this list.
remove(Object) - Method in interface java.util.List
Removes the first occurrence in this list of the specified element (optional operation).
remove(int) - Method in interface java.util.List
Removes the element at the specified position in this list (optional operation).
remove(Object) - Method in interface java.util.Map
Removes the mapping for this key from this map if it is present (optional operation).
remove(Object) - Method in class java.util.PriorityQueue
 
remove() - Method in interface java.util.Queue
Retrieves and removes the head of this queue.
remove(Object) - Method in interface java.util.Set
Removes the specified element from this set if it is present (optional operation).
remove(Object) - Method in class java.util.concurrent.ArrayBlockingQueue
 
remove(Object) - Method in class java.util.concurrent.ConcurrentHashMap
Removes the key (and its corresponding value) from this table.
remove(Object, Object) - Method in class java.util.concurrent.ConcurrentHashMap
Remove entry for key only if currently mapped to given value.
remove(Object) - Method in class java.util.concurrent.ConcurrentLinkedQueue
 
remove(Object, Object) - Method in interface java.util.concurrent.ConcurrentMap
Remove entry for key only if currently mapped to given value.
remove(int) - Method in class java.util.concurrent.CopyOnWriteArrayList
Removes the element at the specified position in this list.
remove(Object) - Method in class java.util.concurrent.CopyOnWriteArrayList
Removes a single instance of the specified element from this list, if it is present (optional operation).
remove(Object) - Method in class java.util.concurrent.CopyOnWriteArraySet
 
remove(Object) - Method in class java.util.concurrent.DelayQueue
 
remove(Object) - Method in class java.util.concurrent.LinkedBlockingQueue
 
remove(Object) - Method in class java.util.concurrent.PriorityBlockingQueue
 
remove(Runnable) - Method in class java.util.concurrent.ScheduledExecutor
Removes this task from internal queue if it is present, thus causing it not to be run if it has not already started.
remove(Object) - Method in class java.util.concurrent.SynchronousQueue
Always returns false.
remove(Runnable) - Method in class java.util.concurrent.ThreadPoolExecutor
Removes this task from internal queue if it is present, thus causing it not to be run if it has not already started.
removeAll(Collection) - Method in class java.util.AbstractCollection
Removes from this collection all of its elements that are contained in the specified collection (optional operation).
removeAll(Collection) - Method in class java.util.AbstractSet
Removes from this set all of its elements that are contained in the specified collection (optional operation).
removeAll(Collection) - Method in interface java.util.Collection
Removes all this collection's elements that are also contained in the specified collection (optional operation).
removeAll(Collection) - Method in interface java.util.List
Removes from this list all the elements that are contained in the specified collection (optional operation).
removeAll(Collection) - Method in interface java.util.Set
Removes from this set all of its elements that are contained in the specified collection (optional operation).
removeAll(Collection) - Method in class java.util.concurrent.CopyOnWriteArrayList
Removes from this Collection all of its elements that are contained in the specified Collection.
removeAll(Collection) - Method in class java.util.concurrent.CopyOnWriteArraySet
 
removeAll(Collection) - Method in class java.util.concurrent.SynchronousQueue
Always returns false.
removeFirst() - Method in class java.util.LinkedList
Removes and returns the first element from this list.
removeLast() - Method in class java.util.LinkedList
Removes and returns the last element from this list.
removeRange(int, int) - Method in class java.util.AbstractList
Removes from this list all of the elements whose index is between fromIndex, inclusive, and toIndex, exclusive.
reset() - Method in class java.util.concurrent.CancellableTask
Reset the run state of this task to its initial state unless it has been cancelled.
reset() - Method in class java.util.concurrent.CyclicBarrier
Reset the barrier to its initial state.
resume() - Method in class java.lang.Thread
Deprecated. This method exists solely for use with Thread.suspend(), which has been deprecated because it is deadlock-prone. For more information, see Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
resume() - Method in class java.lang.ThreadGroup
Deprecated. This method is used solely in conjunction with Thread.suspend and ThreadGroup.suspend, both of which have been deprecated, as they are inherently deadlock-prone. See Thread.suspend() for details.
retainAll(Collection) - Method in class java.util.AbstractCollection
Retains only the elements in this collection that are contained in the specified collection (optional operation).
retainAll(Collection) - Method in interface java.util.Collection
Retains only the elements in this collection that are contained in the specified collection (optional operation).
retainAll(Collection) - Method in interface java.util.List
Retains only the elements in this list that are contained in the specified collection (optional operation).
retainAll(Collection) - Method in interface java.util.Set
Retains only the elements in this set that are contained in the specified collection (optional operation).
retainAll(Collection) - Method in class java.util.concurrent.CopyOnWriteArrayList
Retains only the elements in this Collection that are contained in the specified Collection (optional operation).
retainAll(Collection) - Method in class java.util.concurrent.CopyOnWriteArraySet
 
retainAll(Collection) - Method in class java.util.concurrent.SynchronousQueue
Always returns false.
run() - Method in class java.lang.Thread
If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.
run() - Method in class java.util.concurrent.CancellableTask.InnerCancellableFuture
Sets this Future to the results of callable.call
run() - Method in class java.util.concurrent.CancellableTask
Runs the runnable if not cancelled, maintaining run status.
runFinalization() - Static method in class java.lang.System
Runs the finalization methods of any objects pending finalization.
runFinalizersOnExit(boolean) - Static method in class java.lang.System
Deprecated. This method is inherently unsafe. It may result in finalizers being called on live objects while other threads are concurrently manipulating those objects, resulting in erratic behavior or deadlock.

S

SECONDS - Static variable in class java.util.concurrent.TimeUnit
Unit for one-second granularities.
ScheduledCancellable - interface java.util.concurrent.ScheduledCancellable.
A delayed or periodic action that can be cancelled.
ScheduledExecutor - class java.util.concurrent.ScheduledExecutor.
An Executor that can schedule commands to run after a given delay, or to execute periodically.
ScheduledExecutor(int) - Constructor for class java.util.concurrent.ScheduledExecutor
Creates a new ScheduledExecutor with the given core pool size.
ScheduledExecutor(int, ThreadFactory) - Constructor for class java.util.concurrent.ScheduledExecutor
Creates a new ScheduledExecutor with the given initial parameters.
ScheduledExecutor(int, RejectedExecutionHandler) - Constructor for class java.util.concurrent.ScheduledExecutor
Creates a new ScheduledExecutor with the given initial parameters.
ScheduledExecutor(int, ThreadFactory, RejectedExecutionHandler) - Constructor for class java.util.concurrent.ScheduledExecutor
Creates a new ScheduledExecutor with the given initial parameters.
ScheduledFuture - interface java.util.concurrent.ScheduledFuture.
A delayed result-bearing action that can be cancelled.
Semaphore - class java.util.concurrent.Semaphore.
A counting semaphore.
Semaphore(long) - Constructor for class java.util.concurrent.Semaphore
Construct a Semaphore with the given number of permits.
Set - interface java.util.Set.
A collection that contains no duplicate elements.
SynchronousQueue - class java.util.concurrent.SynchronousQueue.
A blocking queue in which each put must wait for a take, and vice versa.
SynchronousQueue() - Constructor for class java.util.concurrent.SynchronousQueue
Creates a SynchronousQueue.
System - class java.lang.System.
The System class contains several useful class fields and methods.
schedule(Runnable, long, TimeUnit) - Method in class java.util.concurrent.ScheduledExecutor
Creates and executes a one-shot action that becomes enabled after the given delay.
schedule(Callable, long, TimeUnit) - Method in class java.util.concurrent.ScheduledExecutor
Creates and executes a ScheduledFuture that becomes enabled after the given delay.
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class java.util.concurrent.ScheduledExecutor
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on.
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class java.util.concurrent.ScheduledExecutor
Creates and executes a periodic action that becomes enabled first after the given initial delay, and and subsequently with the given delay between the termination of one execution and the commencement of the next.
set(T) - Method in class java.lang.ThreadLocal
Sets the current thread's copy of this thread-local variable to the specified value.
set(int, E) - Method in class java.util.AbstractList
Replaces the element at the specified position in this list with the specified element (optional operation).
set(int, E) - Method in class java.util.AbstractSequentialList
Replaces the element at the specified position in this list with the specified element.
set(int, E) - Method in class java.util.LinkedList
Replaces the element at the specified position in this list with the specified element.
set(int, E) - Method in interface java.util.List
Replaces the element at the specified position in this list with the specified element (optional operation).
set(V) - Method in class java.util.concurrent.CancellableTask.InnerCancellableFuture
Sets the result of this Future to the given value.
set(int, E) - Method in class java.util.concurrent.CopyOnWriteArrayList
Replaces the element at the specified position in this list with the specified element.
set(V) - Method in class java.util.concurrent.FutureTask
Sets the value of this task to the given value.
set(boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
Unconditionally sets to the given value.
set(int) - Method in class java.util.concurrent.atomic.AtomicInteger
Set to the given value.
set(int, int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Set the element at position i to the given value.
set(T, int) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Set the field of the given object managed by this updater.
set(long) - Method in class java.util.concurrent.atomic.AtomicLong
Set to the given value.
set(int, long) - Method in class java.util.concurrent.atomic.AtomicLongArray
Set the element at position i to the given value.
set(T, long) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Set the field of the given object managed by this updater.
set(V, boolean) - Method in class java.util.concurrent.atomic.AtomicMarkableReference
Unconditionally sets the value of both the reference and mark.
set(V) - Method in class java.util.concurrent.atomic.AtomicReference
Set to the given value.
set(int, V) - Method in class java.util.concurrent.atomic.AtomicReferenceArray
Set the element at position i to the given value.
set(T, V) - Method in class java.util.concurrent.atomic.AtomicReferenceFieldUpdater
Set the field of the given object managed by this updater.
set(V, int) - Method in class java.util.concurrent.atomic.AtomicStampedReference
Unconditionally sets the value of both the reference and stamp.
setCancelled() - Method in class java.util.concurrent.CancellableTask
Set the state of this task to Cancelled.
setContextClassLoader(ClassLoader) - Method in class java.lang.Thread
Sets the context ClassLoader for this Thread.
setContinueExistingPeriodicTasksAfterShutdownPolicy(boolean) - Method in class java.util.concurrent.ScheduledExecutor
Set policy on whether to continue executing existing periodic tasks even when this executor has been shutdown.
setCorePoolSize(int) - Method in class java.util.concurrent.ThreadPoolExecutor
Sets the core number of threads.
setDaemon(boolean) - Method in class java.lang.Thread
Marks this thread as either a daemon thread or a user thread.
setDaemon(boolean) - Method in class java.lang.ThreadGroup
Changes the daemon status of this thread group.
setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Static method in class java.lang.Thread
Set the default handler invoked when a thread abruptly terminates due to an uncaught exception.
setDone() - Method in class java.util.concurrent.CancellableTask
Set the state of this task to Done, unless already in a Cancelled state, in which Cancelled status is preserved.
setErr(PrintStream) - Static method in class java.lang.System
Reassigns the "standard" error output stream.
setException(Throwable) - Method in class java.util.concurrent.CancellableTask.InnerCancellableFuture
Causes this future to report an ExecutionException with the given throwable as its cause.
setException(Throwable) - Method in class java.util.concurrent.FutureTask
Indicates that the computation has failed.
setExecuteExistingDelayedTasksAfterShutdownPolicy(boolean) - Method in class java.util.concurrent.ScheduledExecutor
Set policy on whether to execute existing delayed tasks even when this executor has been shutdown.
setIn(InputStream) - Static method in class java.lang.System
Reassigns the "standard" input stream.
setKeepAliveTime(long, TimeUnit) - Method in class java.util.concurrent.ThreadPoolExecutor
Sets the time limit for which threads may remain idle before being terminated.
setMaxPriority(int) - Method in class java.lang.ThreadGroup
Sets the maximum priority of the group.
setMaximumPoolSize(int) - Method in class java.util.concurrent.ThreadPoolExecutor
Sets the maximum allowed number of threads.
setName(String) - Method in class java.lang.Thread
Changes the name of this thread to be equal to the argument name.
setOut(PrintStream) - Static method in class java.lang.System
Reassigns the "standard" output stream.
setPriority(int) - Method in class java.lang.Thread
Changes the priority of this thread.
setProperties(Properties) - Static method in class java.lang.System
Sets the system properties to the Properties argument.
setProperty(String, String) - Static method in class java.lang.System
Sets the system property indicated by the specified key.
setRejectedExecutionHandler(RejectedExecutionHandler) - Method in class java.util.concurrent.ThreadPoolExecutor
Sets a new handler for unexecutable tasks.
setRunnable(Runnable) - Method in class java.util.concurrent.CancellableTask
Set the Runnable forming the basis of this task.
setRunning() - Method in class java.util.concurrent.CancellableTask
Attempt to set the state of this task to Running, succeeding only if the state is currently NOT Done, Running, or Cancelled.
setSecurityManager(SecurityManager) - Static method in class java.lang.System
Sets the System security.
setThreadFactory(ThreadFactory) - Method in class java.util.concurrent.ThreadPoolExecutor
Sets the thread factory used to create new threads.
setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class java.lang.Thread
Set the handler invoked when this Thread abruptly terminates due to an uncaught exception.
setValue(V) - Method in interface java.util.Map.Entry
Replaces the value corresponding to this entry with the specified value (optional operation).
shutdown() - Method in interface java.util.concurrent.ExecutorService
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
shutdown() - Method in class java.util.concurrent.ScheduledExecutor
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
shutdown() - Method in class java.util.concurrent.ThreadPoolExecutor
 
shutdownNow() - Method in interface java.util.concurrent.ExecutorService
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
shutdownNow() - Method in class java.util.concurrent.ScheduledExecutor
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
shutdownNow() - Method in class java.util.concurrent.ThreadPoolExecutor
 
signal() - Method in interface java.util.concurrent.locks.Condition
Wakes up one waiting thread.
signal() - Method in class java.util.concurrent.locks.ReentrantLock.ConditionObject
Wakes up one waiting thread.
signalAll() - Method in interface java.util.concurrent.locks.Condition
Wake up all waiting threads.
signalAll() - Method in class java.util.concurrent.locks.ReentrantLock.ConditionObject
Wake up all waiting threads.
size() - Method in class java.util.AbstractCollection
Returns the number of elements in this collection.
size() - Method in class java.util.AbstractMap
Returns the number of key-value mappings in this map.
size() - Method in interface java.util.Collection
Returns the number of elements in this collection.
size() - Method in class java.util.LinkedList
Returns the number of elements in this list.
size() - Method in interface java.util.List
Returns the number of elements in this list.
size() - Method in interface java.util.Map
Returns the number of key-value mappings in this map.
size() - Method in class java.util.PriorityQueue
 
size() - Method in interface java.util.Set
Returns the number of elements in this set (its cardinality).
size() - Method in class java.util.concurrent.ArrayBlockingQueue
Returns the number of elements in this queue.
size() - Method in class java.util.concurrent.ConcurrentHashMap
 
size() - Method in class java.util.concurrent.ConcurrentLinkedQueue
Returns the number of elements in this queue.
size() - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns the number of elements in this list.
size() - Method in class java.util.concurrent.CopyOnWriteArraySet
 
size() - Method in class java.util.concurrent.DelayQueue
 
size() - Method in class java.util.concurrent.LinkedBlockingQueue
Returns the number of elements in this queue.
size() - Method in class java.util.concurrent.PriorityBlockingQueue
 
size() - Method in class java.util.concurrent.SynchronousQueue
Always returns zero.
sleep(long) - Static method in class java.lang.Thread
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
sleep(long, int) - Static method in class java.lang.Thread
Causes the currently executing thread to sleep (cease execution) for the specified number of milliseconds plus the specified number of nanoseconds.
sleep(long) - Method in class java.util.concurrent.TimeUnit
Perform a Thread.sleep using the current time unit.
start() - Method in class java.lang.Thread
Causes this thread to begin execution; the Java Virtual Machine calls the run method of this thread.
stop() - Method in class java.lang.Thread
Deprecated. This method is inherently unsafe. Stopping a thread with Thread.stop causes it to unlock all of the monitors that it has locked (as a natural consequence of the unchecked ThreadDeath exception propagating up the stack). If any of the objects previously protected by these monitors were in an inconsistent state, the damaged objects become visible to other threads, potentially resulting in arbitrary behavior. Many uses of stop should be replaced by code that simply modifies some variable to indicate that the target thread should stop running. The target thread should check this variable regularly, and return from its run method in an orderly fashion if the variable indicates that it is to stop running. If the target thread waits for long periods (on a condition variable, for example), the interrupt method should be used to interrupt the wait. For more information, see Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
stop(Throwable) - Method in class java.lang.Thread
Deprecated. This method is inherently unsafe. See Thread.stop() (with no arguments) for details. An additional danger of this method is that it may be used to generate exceptions that the target thread is unprepared to handle (including checked exceptions that the thread could not possibly throw, were it not for this method). For more information, see Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
stop() - Method in class java.lang.ThreadGroup
Deprecated. This method is inherently unsafe. See Thread.stop() for details.
subList(int, int) - Method in class java.util.AbstractList
Returns a view of the portion of this list between fromIndex, inclusive, and toIndex, exclusive.
subList(int, int) - Method in interface java.util.List
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
subList(int, int) - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive.
suspend() - Method in class java.lang.Thread
Deprecated. This method has been deprecated, as it is inherently deadlock-prone. If the target thread holds a lock on the monitor protecting a critical system resource when it is suspended, no thread can access this resource until the target thread is resumed. If the thread that would resume the target thread attempts to lock this monitor prior to calling resume, deadlock results. Such deadlocks typically manifest themselves as "frozen" processes. For more information, see Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
suspend() - Method in class java.lang.ThreadGroup
Deprecated. This method is inherently deadlock-prone. See Thread.suspend() for details.

T

Thread - class java.lang.Thread.
A thread is a thread of execution in a program.
Thread() - Constructor for class java.lang.Thread
Allocates a new Thread object.
Thread(Runnable) - Constructor for class java.lang.Thread
Allocates a new Thread object.
Thread(ThreadGroup, Runnable) - Constructor for class java.lang.Thread
Allocates a new Thread object.
Thread(String) - Constructor for class java.lang.Thread
Allocates a new Thread object.
Thread(ThreadGroup, String) - Constructor for class java.lang.Thread
Allocates a new Thread object.
Thread(Runnable, String) - Constructor for class java.lang.Thread
Allocates a new Thread object.
Thread(ThreadGroup, Runnable, String) - Constructor for class java.lang.Thread
Allocates a new Thread object so that it has target as its run object, has the specified name as its name, and belongs to the thread group referred to by group.
Thread(ThreadGroup, Runnable, String, long) - Constructor for class java.lang.Thread
Allocates a new Thread object so that it has target as its run object, has the specified name as its name, belongs to the thread group referred to by group, and has the specified stack size.
Thread.UncaughtExceptionHandler - interface java.lang.Thread.UncaughtExceptionHandler.
Interface for handlers invoked when a Thread abruptly terminates due to an uncaught exception.
ThreadFactory - interface java.util.concurrent.ThreadFactory.
An object that creates new threads on demand.
ThreadGroup - class java.lang.ThreadGroup.
A thread group represents a set of threads.
ThreadGroup(String) - Constructor for class java.lang.ThreadGroup
Constructs a new thread group.
ThreadGroup(ThreadGroup, String) - Constructor for class java.lang.ThreadGroup
Creates a new thread group.
ThreadLocal - class java.lang.ThreadLocal.
This class provides thread-local variables.
ThreadLocal() - Constructor for class java.lang.ThreadLocal
Creates a thread local variable.
ThreadPoolExecutor - class java.util.concurrent.ThreadPoolExecutor.
An ExecutorService that executes each submitted task using one of possibly several pooled threads.
ThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue) - Constructor for class java.util.concurrent.ThreadPoolExecutor
Creates a new ThreadPoolExecutor with the given initial parameters.
ThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue, ThreadFactory) - Constructor for class java.util.concurrent.ThreadPoolExecutor
Creates a new ThreadPoolExecutor with the given initial parameters.
ThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue, RejectedExecutionHandler) - Constructor for class java.util.concurrent.ThreadPoolExecutor
Creates a new ThreadPoolExecutor with the given initial parameters.
ThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue, ThreadFactory, RejectedExecutionHandler) - Constructor for class java.util.concurrent.ThreadPoolExecutor
Creates a new ThreadPoolExecutor with the given initial parameters.
ThreadPoolExecutor.AbortPolicy - class java.util.concurrent.ThreadPoolExecutor.AbortPolicy.
A handler for rejected tasks that throws a RejectedExecutionException.
ThreadPoolExecutor.AbortPolicy() - Constructor for class java.util.concurrent.ThreadPoolExecutor.AbortPolicy
Creates a AbortPolicy.
ThreadPoolExecutor.CallerRunsPolicy - class java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy.
A handler for rejected tasks that runs the rejected task directly in the calling thread of the execute method, unless the executor has been shut down, in which case the task is discarded.
ThreadPoolExecutor.CallerRunsPolicy() - Constructor for class java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy
Creates a CallerRunsPolicy.
ThreadPoolExecutor.DiscardOldestPolicy - class java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy.
A handler for rejected tasks that discards the oldest unhandled request and then retries execute, unless the executor is shut down, in which case the task is discarded.
ThreadPoolExecutor.DiscardOldestPolicy() - Constructor for class java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy
Creates a DiscardOldestPolicy for the given executor.
ThreadPoolExecutor.DiscardPolicy - class java.util.concurrent.ThreadPoolExecutor.DiscardPolicy.
A handler for rejected tasks that silently discards the rejected task.
ThreadPoolExecutor.DiscardPolicy() - Constructor for class java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
Creates DiscardPolicy.
TimeUnit - class java.util.concurrent.TimeUnit.
A TimeUnit represents time durations at a given unit of granularity and provides utility methods to convert across units, and to perform timing and delay operations in these units.
TimeoutException - exception java.util.concurrent.TimeoutException.
Exception thrown when a blocking operation times out.
TimeoutException() - Constructor for class java.util.concurrent.TimeoutException
Constructs a TimeoutException with no specified detail message.
TimeoutException(String) - Constructor for class java.util.concurrent.TimeoutException
Constructs a TimeoutException with the specified detail message.
take() - Method in class java.util.concurrent.ArrayBlockingQueue
 
take() - Method in interface java.util.concurrent.BlockingQueue
Retrieves and removes the head of this queue, waiting if no elements are present on this queue.
take() - Method in class java.util.concurrent.DelayQueue
 
take() - Method in class java.util.concurrent.LinkedBlockingQueue
 
take() - Method in class java.util.concurrent.PriorityBlockingQueue
 
take() - Method in class java.util.concurrent.SynchronousQueue
Retrieves and removes the head of this queue, waiting if necessary for another thread to insert it.
terminated() - Method in class java.util.concurrent.ThreadPoolExecutor
Method invoked when the Executor has terminated.
timedJoin(Thread, long) - Method in class java.util.concurrent.TimeUnit
Perform a timed Thread.join using the current time unit.
timedWait(Object, long) - Method in class java.util.concurrent.TimeUnit
Perform a timed Object.wait using the current time unit.
toArray() - Method in class java.util.AbstractCollection
Returns an array containing all of the elements in this collection.
toArray(T[]) - Method in class java.util.AbstractCollection
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.
toArray() - Method in interface java.util.Collection
Returns an array containing all of the elements in this collection.
toArray(T[]) - Method in interface java.util.Collection
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.
toArray() - Method in class java.util.LinkedList
Returns an array containing all of the elements in this list in the correct order.
toArray(T[]) - Method in class java.util.LinkedList
Returns an array containing all of the elements in this list in the correct order; the runtime type of the returned array is that of the specified array.
toArray() - Method in interface java.util.List
Returns an array containing all of the elements in this list in proper sequence.
toArray(T[]) - Method in interface java.util.List
Returns an array containing all of the elements in this list in proper sequence; the runtime type of the returned array is that of the specified array.
toArray() - Method in interface java.util.Set
Returns an array containing all of the elements in this set.
toArray(T[]) - Method in interface java.util.Set
Returns an array containing all of the elements in this set; the runtime type of the returned array is that of the specified array.
toArray() - Method in class java.util.concurrent.ArrayBlockingQueue
 
toArray(T[]) - Method in class java.util.concurrent.ArrayBlockingQueue
 
toArray() - Method in class java.util.concurrent.ConcurrentLinkedQueue
 
toArray(T[]) - Method in class java.util.concurrent.ConcurrentLinkedQueue
 
toArray() - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns an array containing all of the elements in this list in the correct order.
toArray(T[]) - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns an array containing all of the elements in this list in the correct order.
toArray() - Method in class java.util.concurrent.CopyOnWriteArraySet
 
toArray(T[]) - Method in class java.util.concurrent.CopyOnWriteArraySet
 
toArray() - Method in class java.util.concurrent.DelayQueue
 
toArray(T[]) - Method in class java.util.concurrent.DelayQueue
 
toArray() - Method in class java.util.concurrent.LinkedBlockingQueue
 
toArray(T[]) - Method in class java.util.concurrent.LinkedBlockingQueue
 
toArray() - Method in class java.util.concurrent.PriorityBlockingQueue
 
toArray(T[]) - Method in class java.util.concurrent.PriorityBlockingQueue
 
toArray() - Method in class java.util.concurrent.SynchronousQueue
Returns a zero-length array.
toArray(T[]) - Method in class java.util.concurrent.SynchronousQueue
Sets the zeroeth element of the specified array to null (if the array has non-zero length) and returns it.
toMicros(long) - Method in class java.util.concurrent.TimeUnit
Equivalent to MICROSECONDS.convert(duration, this).
toMillis(long) - Method in class java.util.concurrent.TimeUnit
Equivalent to MILLISECONDS.convert(duration, this).
toNanos(long) - Method in class java.util.concurrent.TimeUnit
Equivalent to NANOSECONDS.convert(duration, this).
toSeconds(long) - Method in class java.util.concurrent.TimeUnit
Equivalent to SECONDS.convert(duration, this).
toString() - Method in class java.lang.Thread
Returns a string representation of this thread, including the thread's name, priority, and thread group.
toString() - Method in class java.lang.ThreadGroup
Returns a string representation of this Thread group.
toString() - Method in class java.util.AbstractCollection
Returns a string representation of this collection.
toString() - Method in class java.util.AbstractMap
Returns a string representation of this map.
toString() - Method in class java.util.concurrent.ArrayBlockingQueue
 
toString() - Method in class java.util.concurrent.CopyOnWriteArrayList
Returns a string representation of this Collection, containing the String representation of each element.
toString() - Method in class java.util.concurrent.LinkedBlockingQueue
 
toString() - Method in class java.util.concurrent.PriorityBlockingQueue
 
toString() - Method in class java.util.concurrent.TimeUnit
Return the common name for this unit.
tryAcquire() - Method in class java.util.concurrent.FairSemaphore
Acquires a permit from this semaphore, only if one is available at the time of invocation.
tryAcquire(long, TimeUnit) - Method in class java.util.concurrent.FairSemaphore
Acquires a permit from this semaphore, if one becomes available within the given waiting time and the current thread has not been interrupted.
tryAcquire(long) - Method in class java.util.concurrent.FairSemaphore
Acquires the given number of permits from this semaphore, only if all are available at the time of invocation.
tryAcquire(long, long, TimeUnit) - Method in class java.util.concurrent.FairSemaphore
Acquires the given number of permits from this semaphore, if all become available within the given waiting time and the current thread has not been interrupted.
tryAcquire() - Method in class java.util.concurrent.Semaphore
Acquires a permit from this semaphore, only if one is available at the time of invocation.
tryAcquire(long, TimeUnit) - Method in class java.util.concurrent.Semaphore
Acquires a permit from this semaphore, if one becomes available within the given waiting time and the current thread has not been interrupted.
tryLock() - Method in interface java.util.concurrent.locks.Lock
Acquires the lock only if it is free at the time of invocation.
tryLock(long, TimeUnit) - Method in interface java.util.concurrent.locks.Lock
Acquires the lock if it is free within the given waiting time and the current thread has not been interrupted.
tryLock() - Method in class java.util.concurrent.locks.ReentrantLock
Acquires the lock only if it is not held by another thread at the time of invocation.
tryLock(long, TimeUnit) - Method in class java.util.concurrent.locks.ReentrantLock
Acquires the lock if it is not held by another thread within the given waiting time and the current thread has not been interrupted.

U

uncaughtException(Thread, Throwable) - Method in interface java.lang.Thread.UncaughtExceptionHandler
Method invoked when the given thread terminates due to the given uncaught exception.
uncaughtException(Thread, Throwable) - Method in class java.lang.ThreadGroup
Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception.
unlock() - Method in interface java.util.concurrent.locks.Lock
Releases the lock.
unlock() - Method in class java.util.concurrent.locks.ReentrantLock
Attempts to release this lock.
unpark(Thread) - Static method in class java.util.concurrent.locks.LockSupport
Make available the permit for the given thread, if it was not already available.

V

values() - Method in class java.util.AbstractMap
Returns a collection view of the values contained in this map.
values() - Method in interface java.util.Map
Returns a collection view of the values contained in this map.
values() - Method in class java.util.concurrent.ConcurrentHashMap
Returns a collection view of the values contained in this map.

W

weakCompareAndSet(boolean, boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
Atomically set the value to the given updated value if the current value == the expected value.
weakCompareAndSet(int, int) - Method in class java.util.concurrent.atomic.AtomicInteger
Atomically set the value to the given updated value if the current value == the expected value.
weakCompareAndSet(int, int, int) - Method in class java.util.concurrent.atomic.AtomicIntegerArray
Atomically set the value to the given updated value if the current value == the expected value.
weakCompareAndSet(T, int, int) - Method in class java.util.concurrent.atomic.AtomicIntegerFieldUpdater
Atomically set the value of the field of the given object managed by this Updater to the given updated value if the current value == the expected value.
weakCompareAndSet(long, long) - Method in class java.util.concurrent.atomic.AtomicLong
Atomically set the value to the given updated value if the current value == the expected value.
weakCompareAndSet(int, long, long) - Method in class java.util.concurrent.atomic.AtomicLongArray
Atomically set the value to the given updated value if the current value == the expected value.
weakCompareAndSet(T, long, long) - Method in class java.util.concurrent.atomic.AtomicLongFieldUpdater
Atomically set the value of the field of the given object managed by this Updater to the given updated value if the current value == the expected value.
weakCompareAndSet(V, V, boolean, boolean) - Method in class java.util.concurrent.atomic.AtomicMarkableReference
Atomically sets the value of both the reference and mark to the given update values if the current reference is == to the expected reference and the current mark is equal to the expected mark.
weakCompareAndSet(V, V) - Method in class java.util.concurrent.atomic.AtomicReference
Atomically set the value to the given updated value if the current value == the expected value.
weakCompareAndSet(int, V, V) - Method in class java.util.concurrent.atomic.AtomicReferenceArray
Atomically set the value to the given updated value if the current value == the expected value.
weakCompareAndSet(T, V, V) - Method in class java.util.concurrent.atomic.AtomicReferenceFieldUpdater
Atomically set the value of the field of the given object managed by this Updater to the given updated value if the current value == the expected value.
weakCompareAndSet(V, V, int, int) - Method in class java.util.concurrent.atomic.AtomicStampedReference
Atomically sets the value of both the reference and stamp to the given update values if the current reference is == to the expected reference and the current stamp is equal to the expected stamp.
writeLock() - Method in interface java.util.concurrent.locks.ReadWriteLock
Return the lock used for writing.
writeLock() - Method in class java.util.concurrent.locks.ReentrantReadWriteLock
 

Y

yield() - Static method in class java.lang.Thread
Causes the currently executing thread object to temporarily pause and allow other threads to execute.

A B C D E F G H I J K L M N O P Q R S T U V W Y