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

A

adapt(Runnable) - Static method in class jsr166e.ForkJoinTask
Returns a new ForkJoinTask that performs the run method of the given Runnable as its action, and returns a null result upon ForkJoinTask.join().
adapt(Runnable, T) - Static method in class jsr166e.ForkJoinTask
Returns a new ForkJoinTask that performs the run method of the given Runnable as its action, and returns the given result upon ForkJoinTask.join().
adapt(Callable<? extends T>) - Static method in class jsr166e.ForkJoinTask
Returns a new ForkJoinTask that performs the call method of the given Callable as its action, and returns its result upon ForkJoinTask.join(), translating any checked exceptions encountered into RuntimeException.
add(K) - Method in class jsr166e.ConcurrentHashMapV8.KeySetView
Adds the specified key to this set view by mapping the key to the default mapped value in the backing map, if defined.
add(double) - Method in class jsr166e.DoubleAdder
Adds the given value.
add(E) - Method in class jsr166e.extra.ReadMostlyVector
 
add(int, E) - Method in class jsr166e.extra.ReadMostlyVector
 
add(long) - Method in class jsr166e.LongAdder
Adds the given value.
add(K, long) - Method in class jsr166e.LongAdderTable
Adds the given value to the sum associated with the given key.
addAll(Collection<? extends K>) - Method in class jsr166e.ConcurrentHashMapV8.KeySetView
Adds all of the elements in the specified collection to this set, as if by calling ConcurrentHashMapV8.KeySetView.add(K) on each one.
addAll(Collection<? extends E>) - Method in class jsr166e.extra.ReadMostlyVector
 
addAll(int, Collection<? extends E>) - Method in class jsr166e.extra.ReadMostlyVector
 
addAllAbsent(Collection<? extends E>) - Method in class jsr166e.extra.ReadMostlyVector
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(double) - Method in class jsr166e.extra.AtomicDouble
Atomically adds the given value to the current value.
addAndGet(int, double) - Method in class jsr166e.extra.AtomicDoubleArray
Atomically adds the given value to the element at index i.
addElement(E) - Method in class jsr166e.extra.ReadMostlyVector
addIfAbsent(E) - Method in class jsr166e.extra.ReadMostlyVector
Appends the element, if not present.
addToPendingCount(int) - Method in class jsr166e.CountedCompleter
Adds (atomically) the given value to the pending count.
apply(A) - Method in interface jsr166e.ConcurrentHashMapV8.Action
 
apply(A, B) - Method in interface jsr166e.ConcurrentHashMapV8.BiAction
 
apply(A, B) - Method in interface jsr166e.ConcurrentHashMapV8.BiFun
 
apply(double, double) - Method in interface jsr166e.ConcurrentHashMapV8.DoubleByDoubleToDouble
 
apply(A) - Method in interface jsr166e.ConcurrentHashMapV8.Fun
 
apply(int, int) - Method in interface jsr166e.ConcurrentHashMapV8.IntByIntToInt
 
apply(long, long) - Method in interface jsr166e.ConcurrentHashMapV8.LongByLongToLong
 
apply(A, B) - Method in interface jsr166e.ConcurrentHashMapV8.ObjectByObjectToDouble
 
apply(A, B) - Method in interface jsr166e.ConcurrentHashMapV8.ObjectByObjectToInt
 
apply(A, B) - Method in interface jsr166e.ConcurrentHashMapV8.ObjectByObjectToLong
 
apply(A) - Method in interface jsr166e.ConcurrentHashMapV8.ObjectToDouble
 
apply(A) - Method in interface jsr166e.ConcurrentHashMapV8.ObjectToInt
 
apply(A) - Method in interface jsr166e.ConcurrentHashMapV8.ObjectToLong
 
apply(A) - Method in interface jsr166e.extra.ReadMostlyVector.Action
 
asReadLock() - Method in class jsr166e.StampedLock
Returns a plain Lock view of this StampedLock in which the Lock.lock() method is mapped to StampedLock.readLock(), and similarly for other methods.
asReadWriteLock() - Method in class jsr166e.StampedLock
Returns a ReadWriteLock view of this StampedLock in which the ReadWriteLock.readLock() method is mapped to StampedLock.asReadLock(), and ReadWriteLock.writeLock() to StampedLock.asWriteLock().
asWriteLock() - Method in class jsr166e.StampedLock
Returns a plain Lock view of this StampedLock in which the Lock.lock() method is mapped to StampedLock.writeLock(), and similarly for other methods.
AtomicDouble - Class in jsr166e.extra
A double value that may be updated atomically.
AtomicDouble(double) - Constructor for class jsr166e.extra.AtomicDouble
Creates a new AtomicDouble with the given initial value.
AtomicDouble() - Constructor for class jsr166e.extra.AtomicDouble
Creates a new AtomicDouble with initial value 0.0.
AtomicDoubleArray - Class in jsr166e.extra
A double array in which elements may be updated atomically.
AtomicDoubleArray(int) - Constructor for class jsr166e.extra.AtomicDoubleArray
Creates a new AtomicDoubleArray of the given length, with all elements initially zero.
AtomicDoubleArray(double[]) - Constructor for class jsr166e.extra.AtomicDoubleArray
Creates a new AtomicDoubleArray with the same length as, and all elements copied from, the given array.
awaitAvailability() - Method in class jsr166e.extra.SequenceLock
Returns the current sequence number when the lock is, or becomes, available.
awaitQuiescence(long, TimeUnit) - Method in class jsr166e.ForkJoinPool
If called by a ForkJoinTask operating in this pool, equivalent in effect to ForkJoinTask.helpQuiesce().
awaitTermination(long, TimeUnit) - Method in class jsr166e.ForkJoinPool
Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.

B

block() - Method in interface jsr166e.ForkJoinPool.ManagedBlocker
Possibly blocks the current thread, for example waiting for a lock or condition.

C

cancel(boolean) - Method in class jsr166e.ForkJoinTask
Attempts to cancel execution of this task.
capacity() - Method in class jsr166e.extra.ReadMostlyVector
clear() - Method in class jsr166e.ConcurrentHashMapV8
Removes all of the mappings from this map.
clear() - Method in class jsr166e.extra.ReadMostlyVector
 
clone() - Method in class jsr166e.extra.ReadMostlyVector
 
commonPool() - Static method in class jsr166e.ForkJoinPool
Returns the common pool instance.
compareAndSet(double, double) - Method in class jsr166e.extra.AtomicDouble
Atomically sets the value to the given updated value if the current value is bitwise equal to the expected value.
compareAndSet(int, double, double) - Method in class jsr166e.extra.AtomicDoubleArray
Atomically sets the element at position i to the given updated value if the current value is bitwise equal to the expected value.
compareAndSetForkJoinTaskTag(short, short) - Method in class jsr166e.ForkJoinTask
Atomically conditionally sets the tag value for this task.
compareAndSetPendingCount(int, int) - Method in class jsr166e.CountedCompleter
Sets (atomically) the pending count to the given count only if it currently holds the given expected value.
complete(T) - Method in class jsr166e.CountedCompleter
Regardless of pending count, invokes CountedCompleter.onCompletion(jsr166e.CountedCompleter), marks this task as complete and further triggers CountedCompleter.tryComplete() on this task's completer, if one exists.
complete(V) - Method in class jsr166e.ForkJoinTask
Completes this task, and if not already aborted or cancelled, returning the given value as the result of subsequent invocations of join and related operations.
completeExceptionally(Throwable) - Method in class jsr166e.ForkJoinTask
Completes this task abnormally, and if not already aborted or cancelled, causes it to throw the given exception upon join and related operations.
compute(K, ConcurrentHashMapV8.BiFun<? super K, ? super V, ? extends V>) - Method in class jsr166e.ConcurrentHashMapV8
Attempts to compute a mapping for the specified key and its current mapped value (or null if there is no current mapping).
compute() - Method in class jsr166e.CountedCompleter
The main computation performed by this task.
compute() - Method in class jsr166e.RecursiveAction
The main computation performed by this task.
compute() - Method in class jsr166e.RecursiveTask
The main computation performed by this task.
computeIfAbsent(K, ConcurrentHashMapV8.Fun<? super K, ? extends V>) - Method in class jsr166e.ConcurrentHashMapV8
If the specified key is not already associated with a value, attempts to compute its value using the given mapping function and enters it into this map unless null.
computeIfPresent(K, ConcurrentHashMapV8.BiFun<? super K, ? super V, ? extends V>) - Method in class jsr166e.ConcurrentHashMapV8
If the value for the specified key is present, attempts to compute a new mapping given the key and its current mapped value.
ConcurrentHashMapV8<K,V> - Class in jsr166e
A hash table supporting full concurrency of retrievals and high expected concurrency for updates.
ConcurrentHashMapV8() - Constructor for class jsr166e.ConcurrentHashMapV8
Creates a new, empty map with the default initial table size (16).
ConcurrentHashMapV8(int) - Constructor for class jsr166e.ConcurrentHashMapV8
Creates a new, empty map with an initial table size accommodating the specified number of elements without the need to dynamically resize.
ConcurrentHashMapV8(Map<? extends K, ? extends V>) - Constructor for class jsr166e.ConcurrentHashMapV8
Creates a new map with the same mappings as the given map.
ConcurrentHashMapV8(int, float) - Constructor for class jsr166e.ConcurrentHashMapV8
Creates a new, empty map with an initial table size based on the given number of elements (initialCapacity) and initial table density (loadFactor).
ConcurrentHashMapV8(int, float, int) - Constructor for class jsr166e.ConcurrentHashMapV8
Creates a new, empty map with an initial table size based on the given number of elements (initialCapacity), table density (loadFactor), and number of concurrently updating threads (concurrencyLevel).
ConcurrentHashMapV8.Action<A> - Interface in jsr166e
Interface describing a void action of one argument
ConcurrentHashMapV8.BiAction<A,B> - Interface in jsr166e
Interface describing a void action of two arguments
ConcurrentHashMapV8.BiFun<A,B,T> - Interface in jsr166e
Interface describing a function of two arguments
ConcurrentHashMapV8.ConcurrentHashMapSpliterator<T> - Interface in jsr166e
An object for traversing and partitioning elements of a source.
ConcurrentHashMapV8.DoubleByDoubleToDouble - Interface in jsr166e
Interface describing a function mapping two doubles to a double
ConcurrentHashMapV8.Fun<A,T> - Interface in jsr166e
Interface describing a function of one argument
ConcurrentHashMapV8.IntByIntToInt - Interface in jsr166e
Interface describing a function mapping two ints to an int
ConcurrentHashMapV8.KeySetView<K,V> - Class in jsr166e
A view of a ConcurrentHashMapV8 as a Set of keys, in which additions may optionally be enabled by mapping to a common value.
ConcurrentHashMapV8.LongByLongToLong - Interface in jsr166e
Interface describing a function mapping two longs to a long
ConcurrentHashMapV8.ObjectByObjectToDouble<A,B> - Interface in jsr166e
Interface describing a function mapping two arguments to a double
ConcurrentHashMapV8.ObjectByObjectToInt<A,B> - Interface in jsr166e
Interface describing a function mapping two arguments to an int
ConcurrentHashMapV8.ObjectByObjectToLong<A,B> - Interface in jsr166e
Interface describing a function mapping two arguments to a long
ConcurrentHashMapV8.ObjectToDouble<A> - Interface in jsr166e
Interface describing a function mapping its argument to a double
ConcurrentHashMapV8.ObjectToInt<A> - Interface in jsr166e
Interface describing a function mapping its argument to an int
ConcurrentHashMapV8.ObjectToLong<A> - Interface in jsr166e
Interface describing a function mapping its argument to a long
contains(Object) - Method in class jsr166e.ConcurrentHashMapV8
Deprecated.
contains(Object) - Method in class jsr166e.ConcurrentHashMapV8.KeySetView
contains(Object) - Method in class jsr166e.extra.ReadMostlyVector
 
containsAll(Collection<?>) - Method in class jsr166e.extra.ReadMostlyVector
 
containsKey(Object) - Method in class jsr166e.ConcurrentHashMapV8
Tests if the specified object is a key in this table.
containsValue(Object) - Method in class jsr166e.ConcurrentHashMapV8
Returns true if this map maps one or more keys to the specified value.
copyInto(Object[]) - Method in class jsr166e.extra.ReadMostlyVector
CountedCompleter<T> - Class in jsr166e
A ForkJoinTask with a completion action performed when triggered and there are no remaining pending actions.
CountedCompleter(CountedCompleter<?>, int) - Constructor for class jsr166e.CountedCompleter
Creates a new CountedCompleter with the given completer and initial pending count.
CountedCompleter(CountedCompleter<?>) - Constructor for class jsr166e.CountedCompleter
Creates a new CountedCompleter with the given completer and an initial pending count of zero.
CountedCompleter() - Constructor for class jsr166e.CountedCompleter
Creates a new CountedCompleter with no completer and an initial pending count of zero.
current() - Static method in class jsr166e.ThreadLocalRandom
Returns the current thread's ThreadLocalRandom.

D

decrement() - Method in class jsr166e.LongAdder
Equivalent to add(-1).
decrement(K) - Method in class jsr166e.LongAdderTable
Decrements the sum associated with the given key.
decrementPendingCountUnlessZero() - Method in class jsr166e.CountedCompleter
If the pending count is nonzero, (atomically) decrements it.
defaultForkJoinWorkerThreadFactory - Static variable in class jsr166e.ForkJoinPool
Creates a new ForkJoinWorkerThread.
DoubleAdder - Class in jsr166e
One or more variables that together maintain an initially zero double sum.
DoubleAdder() - Constructor for class jsr166e.DoubleAdder
Creates a new adder with initial sum of zero.
DoubleMaxUpdater - Class in jsr166e
One or more variables that together maintain a running double maximum with initial value Double.NEGATIVE_INFINITY.
DoubleMaxUpdater() - Constructor for class jsr166e.DoubleMaxUpdater
Creates a new instance with initial value of Double.NEGATIVE_INFINITY.
doubleValue() - Method in class jsr166e.DoubleAdder
Equivalent to DoubleAdder.sum().
doubleValue() - Method in class jsr166e.DoubleMaxUpdater
Equivalent to DoubleMaxUpdater.max().
doubleValue() - Method in class jsr166e.extra.AtomicDouble
Returns the value of this AtomicDouble as a double.
doubleValue() - Method in class jsr166e.LongAdder
Returns the LongAdder.sum() as a double after a widening primitive conversion.
doubleValue() - Method in class jsr166e.LongMaxUpdater
Returns the LongMaxUpdater.max() as a double after a widening primitive conversion.
drainTasksTo(Collection<? super ForkJoinTask<?>>) - Method in class jsr166e.ForkJoinPool
Removes all available unexecuted submitted and forked tasks from scheduling queues and adds them to the given collection, without altering their execution status.

E

elementAt(int) - Method in class jsr166e.extra.ReadMostlyVector
elements() - Method in class jsr166e.ConcurrentHashMapV8
Returns an enumeration of the values in this table.
elements() - Method in class jsr166e.extra.ReadMostlyVector
ensureCapacity(int) - Method in class jsr166e.extra.ReadMostlyVector
entrySet() - Method in class jsr166e.ConcurrentHashMapV8
Returns a Set view of the mappings contained in this map.
entrySet() - Method in class jsr166e.LongAdderTable
Returns the current set of key-value mappings.
equals(Object) - Method in class jsr166e.ConcurrentHashMapV8
Compares the specified object with this map for equality.
equals(Object) - Method in class jsr166e.ConcurrentHashMapV8.KeySetView
 
equals(Object) - Method in class jsr166e.extra.ReadMostlyVector
 
estimateSize() - Method in interface jsr166e.ConcurrentHashMapV8.ConcurrentHashMapSpliterator
Returns an estimate of the number of elements covered by this Spliterator.
exec() - Method in class jsr166e.CountedCompleter
Implements execution conventions for CountedCompleters.
exec() - Method in class jsr166e.ForkJoinTask
Immediately performs the base action of this task and returns true if, upon return from this method, this task is guaranteed to have completed normally.
exec() - Method in class jsr166e.RecursiveAction
Implements execution conventions for RecursiveActions.
exec() - Method in class jsr166e.RecursiveTask
Implements execution conventions for RecursiveTask.
execute(ForkJoinTask<?>) - Method in class jsr166e.ForkJoinPool
Arranges for (asynchronous) execution of the given task.
execute(Runnable) - Method in class jsr166e.ForkJoinPool
 

F

firstComplete() - Method in class jsr166e.CountedCompleter
If this task's pending count is zero, returns this task; otherwise decrements its pending count and returns null.
firstElement() - Method in class jsr166e.extra.ReadMostlyVector
floatValue() - Method in class jsr166e.DoubleAdder
Returns the DoubleAdder.sum() as a float after a narrowing primitive conversion.
floatValue() - Method in class jsr166e.DoubleMaxUpdater
Returns the DoubleMaxUpdater.max() as a float after a narrowing primitive conversion.
floatValue() - Method in class jsr166e.extra.AtomicDouble
Returns the value of this AtomicDouble as a float after a narrowing primitive conversion.
floatValue() - Method in class jsr166e.LongAdder
Returns the LongAdder.sum() as a float after a widening primitive conversion.
floatValue() - Method in class jsr166e.LongMaxUpdater
Returns the LongMaxUpdater.max() as a float after a widening primitive conversion.
forEach(ConcurrentHashMapV8.BiAction<? super K, ? super V>) - Method in class jsr166e.ConcurrentHashMapV8
 
forEach(long, ConcurrentHashMapV8.BiAction<? super K, ? super V>) - Method in class jsr166e.ConcurrentHashMapV8
Performs the given action for each (key, value).
forEach(long, ConcurrentHashMapV8.BiFun<? super K, ? super V, ? extends U>, ConcurrentHashMapV8.Action<? super U>) - Method in class jsr166e.ConcurrentHashMapV8
Performs the given action for each non-null transformation of each (key, value).
forEach(ConcurrentHashMapV8.Action<? super K>) - Method in class jsr166e.ConcurrentHashMapV8.KeySetView
 
forEachEntry(long, ConcurrentHashMapV8.Action<? super Map.Entry<K, V>>) - Method in class jsr166e.ConcurrentHashMapV8
Performs the given action for each entry.
forEachEntry(long, ConcurrentHashMapV8.Fun<Map.Entry<K, V>, ? extends U>, ConcurrentHashMapV8.Action<? super U>) - Method in class jsr166e.ConcurrentHashMapV8
Performs the given action for each non-null transformation of each entry.
forEachKey(long, ConcurrentHashMapV8.Action<? super K>) - Method in class jsr166e.ConcurrentHashMapV8
Performs the given action for each key.
forEachKey(long, ConcurrentHashMapV8.Fun<? super K, ? extends U>, ConcurrentHashMapV8.Action<? super U>) - Method in class jsr166e.ConcurrentHashMapV8
Performs the given action for each non-null transformation of each key.
forEachReadOnly(ReadMostlyVector.Action<E>) - Method in class jsr166e.extra.ReadMostlyVector
 
forEachRemaining(ConcurrentHashMapV8.Action<? super T>) - Method in interface jsr166e.ConcurrentHashMapV8.ConcurrentHashMapSpliterator
Applies the action to each untraversed element
forEachValue(long, ConcurrentHashMapV8.Action<? super V>) - Method in class jsr166e.ConcurrentHashMapV8
Performs the given action for each value.
forEachValue(long, ConcurrentHashMapV8.Fun<? super V, ? extends U>, ConcurrentHashMapV8.Action<? super U>) - Method in class jsr166e.ConcurrentHashMapV8
Performs the given action for each non-null transformation of each value.
fork() - Method in class jsr166e.ForkJoinTask
Arranges to asynchronously execute this task in the pool the current task is running in, if applicable, or using the ForkJoinPool.commonPool() if not ForkJoinTask.inForkJoinPool().
ForkJoinPool - Class in jsr166e
An ExecutorService for running ForkJoinTasks.
ForkJoinPool() - Constructor for class jsr166e.ForkJoinPool
Creates a ForkJoinPool with parallelism equal to Runtime.availableProcessors(), using the default thread factory, no UncaughtExceptionHandler, and non-async LIFO processing mode.
ForkJoinPool(int) - Constructor for class jsr166e.ForkJoinPool
Creates a ForkJoinPool with the indicated parallelism level, the default thread factory, no UncaughtExceptionHandler, and non-async LIFO processing mode.
ForkJoinPool(int, ForkJoinPool.ForkJoinWorkerThreadFactory, Thread.UncaughtExceptionHandler, boolean) - Constructor for class jsr166e.ForkJoinPool
Creates a ForkJoinPool with the given parameters.
ForkJoinPool.ForkJoinWorkerThreadFactory - Interface in jsr166e
Factory for creating new ForkJoinWorkerThreads.
ForkJoinPool.ManagedBlocker - Interface in jsr166e
Interface for extending managed parallelism for tasks running in ForkJoinPools.
ForkJoinTask<V> - Class in jsr166e
Abstract base class for tasks that run within a ForkJoinPool.
ForkJoinTask() - Constructor for class jsr166e.ForkJoinTask
 
ForkJoinWorkerThread - Class in jsr166e
A thread managed by a ForkJoinPool, which executes ForkJoinTasks.
ForkJoinWorkerThread(ForkJoinPool) - Constructor for class jsr166e.ForkJoinWorkerThread
Creates a ForkJoinWorkerThread operating in the given pool.

G

get(Object) - Method in class jsr166e.ConcurrentHashMapV8
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get() - Method in class jsr166e.extra.AtomicDouble
Gets the current value.
get(int) - Method in class jsr166e.extra.AtomicDoubleArray
Gets the current value at position i.
get(int) - Method in class jsr166e.extra.ReadMostlyVector
 
get() - Method in class jsr166e.ForkJoinTask
Waits if necessary for the computation to complete, and then retrieves its result.
get(long, TimeUnit) - Method in class jsr166e.ForkJoinTask
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.
getActiveThreadCount() - Method in class jsr166e.ForkJoinPool
Returns an estimate of the number of threads that are currently stealing or executing tasks.
getAndAdd(double) - Method in class jsr166e.extra.AtomicDouble
Atomically adds the given value to the current value.
getAndAdd(int, double) - Method in class jsr166e.extra.AtomicDoubleArray
Atomically adds the given value to the element at index i.
getAndSet(double) - Method in class jsr166e.extra.AtomicDouble
Atomically sets to the given value and returns the old value.
getAndSet(int, double) - Method in class jsr166e.extra.AtomicDoubleArray
Atomically sets the element at position i to the given value and returns the old value.
getAsyncMode() - Method in class jsr166e.ForkJoinPool
Returns true if this pool uses local first-in-first-out scheduling mode for forked tasks that are never joined.
getCommonPoolParallelism() - Static method in class jsr166e.ForkJoinPool
Returns the targeted parallelism level of the common pool.
getCompleter() - Method in class jsr166e.CountedCompleter
Returns the completer established in this task's constructor, or null if none.
getException() - Method in class jsr166e.ForkJoinTask
Returns the exception thrown by the base computation, or a CancellationException if cancelled, or null if none or if the method has not yet completed.
getFactory() - Method in class jsr166e.ForkJoinPool
Returns the factory used for constructing new workers.
getForkJoinTaskTag() - Method in class jsr166e.ForkJoinTask
Returns the tag for this task.
getHoldCount() - Method in class jsr166e.extra.SequenceLock
Queries the number of holds on this lock by the current thread.
getMappedValue() - Method in class jsr166e.ConcurrentHashMapV8.KeySetView
Returns the default mapped value for additions, or null if additions are not supported.
getOrDefault(Object, V) - Method in class jsr166e.ConcurrentHashMapV8
Returns the value to which the specified key is mapped, or the given default value if this map contains no mapping for the key.
getOwner() - Method in class jsr166e.extra.SequenceLock
Returns the thread that currently owns this lock, or null if not owned.
getParallelism() - Method in class jsr166e.ForkJoinPool
Returns the targeted parallelism level of this pool.
getPendingCount() - Method in class jsr166e.CountedCompleter
Returns the current pending count.
getPool() - Static method in class jsr166e.ForkJoinTask
Returns the pool hosting the current task execution, or null if this task is executing outside of any ForkJoinPool.
getPool() - Method in class jsr166e.ForkJoinWorkerThread
Returns the pool hosting this thread.
getPoolIndex() - Method in class jsr166e.ForkJoinWorkerThread
Returns the unique index number of this thread in its pool.
getPoolSize() - Method in class jsr166e.ForkJoinPool
Returns the number of worker threads that have started but not yet terminated.
getQueuedSubmissionCount() - Method in class jsr166e.ForkJoinPool
Returns an estimate of the number of tasks submitted to this pool that have not yet begun executing.
getQueuedTaskCount() - Method in class jsr166e.ForkJoinPool
Returns an estimate of the total number of tasks currently held in queues by worker threads (but not including tasks submitted to the pool that have not begun executing).
getQueuedTaskCount() - Static method in class jsr166e.ForkJoinTask
Returns an estimate of the number of tasks that have been forked by the current worker thread but not yet executed.
getQueuedThreads() - Method in class jsr166e.extra.SequenceLock
Returns a collection containing threads that may be waiting to acquire this lock.
getQueueLength() - Method in class jsr166e.extra.SequenceLock
Returns an estimate of the number of threads waiting to acquire this lock.
getRawResult() - Method in class jsr166e.CountedCompleter
Returns the result of the computation.
getRawResult() - Method in class jsr166e.ForkJoinTask
Returns the result that would be returned by ForkJoinTask.join(), even if this task completed abnormally, or null if this task is not known to have been completed.
getRawResult() - Method in class jsr166e.RecursiveAction
Always returns null.
getRawResult() - Method in class jsr166e.RecursiveTask
 
getReadLockCount() - Method in class jsr166e.StampedLock
Queries the number of read locks held for this lock.
getRoot() - Method in class jsr166e.CountedCompleter
Returns the root of the current computation; i.e., this task if it has no completer, else its completer's root.
getRunningThreadCount() - Method in class jsr166e.ForkJoinPool
Returns an estimate of the number of worker threads that are not blocked waiting to join tasks or for other managed synchronization.
getSequence() - Method in class jsr166e.extra.SequenceLock
Returns the current sequence number of this lock.
getStealCount() - Method in class jsr166e.ForkJoinPool
Returns an estimate of the total number of tasks stolen from one thread's work queue by another.
getSurplusQueuedTaskCount() - Static method in class jsr166e.ForkJoinTask
Returns an estimate of how many more locally queued tasks are held by the current worker thread than there are other worker threads that might steal them, or zero if this thread is not operating in a ForkJoinPool.
getUncaughtExceptionHandler() - Method in class jsr166e.ForkJoinPool
Returns the handler for internal worker threads that terminate due to unrecoverable errors encountered while executing tasks.

H

hashCode() - Method in class jsr166e.ConcurrentHashMapV8
Returns the hash code value for this Map, i.e., the sum of, for each key-value pair in the map, key.hashCode() ^ value.hashCode().
hashCode() - Method in class jsr166e.ConcurrentHashMapV8.KeySetView
 
hashCode() - Method in class jsr166e.extra.ReadMostlyVector
 
hasQueuedSubmissions() - Method in class jsr166e.ForkJoinPool
Returns true if there are any tasks submitted to this pool that have not yet begun executing.
hasQueuedThread(Thread) - Method in class jsr166e.extra.SequenceLock
Queries whether the given thread is waiting to acquire this lock.
hasQueuedThreads() - Method in class jsr166e.extra.SequenceLock
Queries whether any threads are waiting to acquire this lock.
helpQuiesce() - Static method in class jsr166e.ForkJoinTask
Possibly executes tasks until the pool hosting the current task is quiescent.

I

increment() - Method in class jsr166e.LongAdder
Equivalent to add(1).
increment(K) - Method in class jsr166e.LongAdderTable
Increments the sum associated with the given key.
indexOf(Object) - Method in class jsr166e.extra.ReadMostlyVector
 
indexOf(Object, int) - Method in class jsr166e.extra.ReadMostlyVector
inForkJoinPool() - Static method in class jsr166e.ForkJoinTask
Returns true if the current thread is a ForkJoinWorkerThread executing as a ForkJoinPool computation.
insertElementAt(E, int) - Method in class jsr166e.extra.ReadMostlyVector
install(K) - Method in class jsr166e.LongAdderTable
If the given key does not already exist in the table, inserts the key with initial sum of zero; in either case returning the adder associated with this key.
intValue() - Method in class jsr166e.DoubleAdder
Returns the DoubleAdder.sum() as an int after a narrowing primitive conversion.
intValue() - Method in class jsr166e.DoubleMaxUpdater
Returns the DoubleMaxUpdater.max() as an int after a narrowing primitive conversion.
intValue() - Method in class jsr166e.extra.AtomicDouble
Returns the value of this AtomicDouble as an int after a narrowing primitive conversion.
intValue() - Method in class jsr166e.LongAdder
Returns the LongAdder.sum() as an int after a narrowing primitive conversion.
intValue() - Method in class jsr166e.LongMaxUpdater
Returns the LongMaxUpdater.max() as an int after a narrowing primitive conversion.
invoke(ForkJoinTask<T>) - Method in class jsr166e.ForkJoinPool
Performs the given task, returning its result upon completion.
invoke() - Method in class jsr166e.ForkJoinTask
Commences performing this task, awaits its completion if necessary, and returns its result, or throws an (unchecked) RuntimeException or Error if the underlying computation did so.
invokeAll(Collection<? extends Callable<T>>) - Method in class jsr166e.ForkJoinPool
 
invokeAll(ForkJoinTask<?>, ForkJoinTask<?>) - Static method in class jsr166e.ForkJoinTask
Forks the given tasks, returning when isDone holds for each task or an (unchecked) exception is encountered, in which case the exception is rethrown.
invokeAll(ForkJoinTask<?>...) - Static method in class jsr166e.ForkJoinTask
Forks the given tasks, returning when isDone holds for each task or an (unchecked) exception is encountered, in which case the exception is rethrown.
invokeAll(Collection<T>) - Static method in class jsr166e.ForkJoinTask
Forks all tasks in the specified collection, returning when isDone holds for each task or an (unchecked) exception is encountered, in which case the exception is rethrown.
isCancelled() - Method in class jsr166e.ForkJoinTask
 
isCompletedAbnormally() - Method in class jsr166e.ForkJoinTask
Returns true if this task threw an exception or was cancelled.
isCompletedNormally() - Method in class jsr166e.ForkJoinTask
Returns true if this task completed without throwing an exception and was not cancelled.
isDone() - Method in class jsr166e.ForkJoinTask
 
isEmpty() - Method in class jsr166e.ConcurrentHashMapV8
isEmpty() - Method in class jsr166e.extra.ReadMostlyVector
 
isHeldByCurrentThread() - Method in class jsr166e.extra.SequenceLock
Queries if this lock is held by the current thread.
isLocked() - Method in class jsr166e.extra.SequenceLock
Queries if this lock is held by any thread.
isQuiescent() - Method in class jsr166e.ForkJoinPool
Returns true if all worker threads are currently idle.
isReadLocked() - Method in class jsr166e.StampedLock
Returns true if the lock is currently held non-exclusively.
isReleasable() - Method in interface jsr166e.ForkJoinPool.ManagedBlocker
Returns true if blocking is unnecessary.
isShutdown() - Method in class jsr166e.ForkJoinPool
Returns true if this pool has been shut down.
isTerminated() - Method in class jsr166e.ForkJoinPool
Returns true if all tasks have completed following shut down.
isTerminating() - Method in class jsr166e.ForkJoinPool
Returns true if the process of termination has commenced but not yet completed.
isWriteLocked() - Method in class jsr166e.StampedLock
Returns true if the lock is currently held exclusively.
iterator() - Method in class jsr166e.ConcurrentHashMapV8.KeySetView
 
iterator() - Method in class jsr166e.extra.ReadMostlyVector
 

J

join() - Method in class jsr166e.ForkJoinTask
Returns the result of the computation when it is done.
jsr166e - package jsr166e
 
jsr166e.extra - package jsr166e.extra
 

K

keys() - Method in class jsr166e.ConcurrentHashMapV8
Returns an enumeration of the keys in this table.
keySet() - Method in class jsr166e.ConcurrentHashMapV8
Returns a Set view of the keys contained in this map.
keySet(V) - Method in class jsr166e.ConcurrentHashMapV8
Returns a Set view of the keys in this map, using the given common mapped value for any additions (i.e., Collection.add(E) and Collection.addAll(java.util.Collection)).
keySet() - Method in class jsr166e.LongAdderTable
Returns the current set of keys.

L

lastElement() - Method in class jsr166e.extra.ReadMostlyVector
lastIndexOf(Object) - Method in class jsr166e.extra.ReadMostlyVector
 
lastIndexOf(Object, int) - Method in class jsr166e.extra.ReadMostlyVector
lazySet(double) - Method in class jsr166e.extra.AtomicDouble
Eventually sets to the given value.
lazySet(int, double) - Method in class jsr166e.extra.AtomicDoubleArray
Eventually sets the element at position i to the given value.
length() - Method in class jsr166e.extra.AtomicDoubleArray
Returns the length of the array.
listIterator() - Method in class jsr166e.extra.ReadMostlyVector
 
listIterator(int) - Method in class jsr166e.extra.ReadMostlyVector
 
lock() - Method in class jsr166e.extra.SequenceLock
Acquires the lock.
lockInterruptibly() - Method in class jsr166e.extra.SequenceLock
Acquires the lock unless the current thread is interrupted.
LongAdder - Class in jsr166e
One or more variables that together maintain an initially zero long sum.
LongAdder() - Constructor for class jsr166e.LongAdder
Creates a new adder with initial sum of zero.
LongAdderTable<K> - Class in jsr166e
A keyed table of adders, that may be useful in computing frequency counts and histograms, or may be used as a form of multiset.
LongAdderTable() - Constructor for class jsr166e.LongAdderTable
Creates a new empty table.
LongMaxUpdater - Class in jsr166e
One or more variables that together maintain a running long maximum with initial value Long.MIN_VALUE.
LongMaxUpdater() - Constructor for class jsr166e.LongMaxUpdater
Creates a new instance with initial maximum of Long.MIN_VALUE.
longValue() - Method in class jsr166e.DoubleAdder
Returns the DoubleAdder.sum() as a long after a narrowing primitive conversion.
longValue() - Method in class jsr166e.DoubleMaxUpdater
Returns the DoubleMaxUpdater.max() as a long after a narrowing primitive conversion.
longValue() - Method in class jsr166e.extra.AtomicDouble
Returns the value of this AtomicDouble as a long after a narrowing primitive conversion.
longValue() - Method in class jsr166e.LongAdder
Equivalent to LongAdder.sum().
longValue() - Method in class jsr166e.LongMaxUpdater
Equivalent to LongMaxUpdater.max().

M

managedBlock(ForkJoinPool.ManagedBlocker) - Static method in class jsr166e.ForkJoinPool
Blocks in accord with the given blocker.
mappingCount() - Method in class jsr166e.ConcurrentHashMapV8
Returns the number of mappings.
max() - Method in class jsr166e.DoubleMaxUpdater
Returns the current maximum.
max() - Method in class jsr166e.LongMaxUpdater
Returns the current maximum.
maxThenReset() - Method in class jsr166e.DoubleMaxUpdater
Equivalent in effect to DoubleMaxUpdater.max() followed by DoubleMaxUpdater.reset().
maxThenReset() - Method in class jsr166e.LongMaxUpdater
Equivalent in effect to LongMaxUpdater.max() followed by LongMaxUpdater.reset().
merge(K, V, ConcurrentHashMapV8.BiFun<? super V, ? super V, ? extends V>) - Method in class jsr166e.ConcurrentHashMapV8
If the specified key is not already associated with a (non-null) value, associates it with the given value.

N

newCondition() - Method in class jsr166e.extra.SequenceLock
Throws UnsupportedOperationException.
newKeySet() - Static method in class jsr166e.ConcurrentHashMapV8
Creates a new Set backed by a ConcurrentHashMapV8 from the given type to Boolean.TRUE.
newKeySet(int) - Static method in class jsr166e.ConcurrentHashMapV8
Creates a new Set backed by a ConcurrentHashMapV8 from the given type to Boolean.TRUE.
newTaskFor(Runnable, T) - Method in class jsr166e.ForkJoinPool
 
newTaskFor(Callable<T>) - Method in class jsr166e.ForkJoinPool
 
newThread(ForkJoinPool) - Method in interface jsr166e.ForkJoinPool.ForkJoinWorkerThreadFactory
Returns a new worker thread operating in the given pool.
next(int) - Method in class jsr166e.ThreadLocalRandom
 
nextComplete() - Method in class jsr166e.CountedCompleter
If this task does not have a completer, invokes ForkJoinTask.quietlyComplete() and returns null.
nextDouble(double) - Method in class jsr166e.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed double value between 0 (inclusive) and the specified value (exclusive).
nextDouble(double, double) - Method in class jsr166e.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
nextInt(int, int) - Method in class jsr166e.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
nextLong(long) - Method in class jsr166e.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between 0 (inclusive) and the specified value (exclusive).
nextLong(long, long) - Method in class jsr166e.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).

O

onCompletion(CountedCompleter<?>) - Method in class jsr166e.CountedCompleter
Performs an action when method CountedCompleter.tryComplete() is invoked and the pending count is zero, or when the unconditional method CountedCompleter.complete(T) is invoked.
onExceptionalCompletion(Throwable, CountedCompleter<?>) - Method in class jsr166e.CountedCompleter
Performs an action when method ForkJoinTask.completeExceptionally(Throwable) is invoked or method CountedCompleter.compute() throws an exception, and this task has not already otherwise completed normally.
onStart() - Method in class jsr166e.ForkJoinWorkerThread
Initializes internal state after construction but before processing any tasks.
onTermination(Throwable) - Method in class jsr166e.ForkJoinWorkerThread
Performs cleanup associated with termination of this worker thread.

P

peekNextLocalTask() - Static method in class jsr166e.ForkJoinTask
Returns, but does not unschedule or execute, a task queued by the current thread but not yet executed, if one is immediately available.
pollNextLocalTask() - Static method in class jsr166e.ForkJoinTask
Unschedules and returns, without executing, the next task queued by the current thread but not yet executed, if the current thread is operating in a ForkJoinPool.
pollSubmission() - Method in class jsr166e.ForkJoinPool
Removes and returns the next unexecuted submission if one is available.
pollTask() - Static method in class jsr166e.ForkJoinTask
If the current thread is operating in a ForkJoinPool, unschedules and returns, without executing, the next task queued by the current thread but not yet executed, if one is available, or if not available, a task that was forked by some other thread, if available.
propagateCompletion() - Method in class jsr166e.CountedCompleter
Equivalent to CountedCompleter.tryComplete() but does not invoke CountedCompleter.onCompletion(jsr166e.CountedCompleter) along the completion path: If the pending count is nonzero, decrements the count; otherwise, similarly tries to complete this task's completer, if one exists, else marks this task as complete.
put(K, V) - Method in class jsr166e.ConcurrentHashMapV8
Maps the specified key to the specified value in this table.
putAll(Map<? extends K, ? extends V>) - Method in class jsr166e.ConcurrentHashMapV8
Copies all of the mappings from the specified map to this one.
putIfAbsent(K, V) - Method in class jsr166e.ConcurrentHashMapV8

Q

quietlyComplete() - Method in class jsr166e.ForkJoinTask
Completes this task normally without setting a value.
quietlyCompleteRoot() - Method in class jsr166e.CountedCompleter
Equivalent to getRoot().quietlyComplete().
quietlyInvoke() - Method in class jsr166e.ForkJoinTask
Commences performing this task and awaits its completion if necessary, without returning its result or throwing its exception.
quietlyJoin() - Method in class jsr166e.ForkJoinTask
Joins this task, without returning its result or throwing its exception.

R

readLock() - Method in class jsr166e.StampedLock
Non-exclusively acquires the lock, blocking if necessary until available.
readLockInterruptibly() - Method in class jsr166e.StampedLock
Non-exclusively acquires the lock, blocking if necessary until available or the current thread is interrupted.
ReadMostlyVector<E> - Class in jsr166e.extra
A class with the same methods and array-based characteristics as Vector but with reduced contention and improved throughput when invocations of read-only methods by multiple threads are most common.
ReadMostlyVector(int, int) - Constructor for class jsr166e.extra.ReadMostlyVector
Creates an empty vector with the given initial capacity and capacity increment.
ReadMostlyVector(int) - Constructor for class jsr166e.extra.ReadMostlyVector
Creates an empty vector with the given initial capacity.
ReadMostlyVector() - Constructor for class jsr166e.extra.ReadMostlyVector
Creates an empty vector.
ReadMostlyVector(Collection<? extends E>) - Constructor for class jsr166e.extra.ReadMostlyVector
Creates a vector containing the elements of the specified collection, in the order they are returned by the collection's iterator.
ReadMostlyVector.Action<A> - Interface in jsr166e.extra
Interface describing a void action of one argument
RecursiveAction - Class in jsr166e
A recursive resultless ForkJoinTask.
RecursiveAction() - Constructor for class jsr166e.RecursiveAction
 
RecursiveTask<V> - Class in jsr166e
A recursive result-bearing ForkJoinTask.
RecursiveTask() - Constructor for class jsr166e.RecursiveTask
 
reduce(long, ConcurrentHashMapV8.BiFun<? super K, ? super V, ? extends U>, ConcurrentHashMapV8.BiFun<? super U, ? super U, ? extends U>) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all (key, value) pairs using the given reducer to combine values, or null if none.
reduceEntries(long, ConcurrentHashMapV8.BiFun<Map.Entry<K, V>, Map.Entry<K, V>, ? extends Map.Entry<K, V>>) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating all entries using the given reducer to combine values, or null if none.
reduceEntries(long, ConcurrentHashMapV8.Fun<Map.Entry<K, V>, ? extends U>, ConcurrentHashMapV8.BiFun<? super U, ? super U, ? extends U>) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, or null if none.
reduceEntriesToDouble(long, ConcurrentHashMapV8.ObjectToDouble<Map.Entry<K, V>>, double, ConcurrentHashMapV8.DoubleByDoubleToDouble) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, and the given basis as an identity value.
reduceEntriesToInt(long, ConcurrentHashMapV8.ObjectToInt<Map.Entry<K, V>>, int, ConcurrentHashMapV8.IntByIntToInt) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, and the given basis as an identity value.
reduceEntriesToLong(long, ConcurrentHashMapV8.ObjectToLong<Map.Entry<K, V>>, long, ConcurrentHashMapV8.LongByLongToLong) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all entries using the given reducer to combine values, and the given basis as an identity value.
reduceKeys(long, ConcurrentHashMapV8.BiFun<? super K, ? super K, ? extends K>) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating all keys using the given reducer to combine values, or null if none.
reduceKeys(long, ConcurrentHashMapV8.Fun<? super K, ? extends U>, ConcurrentHashMapV8.BiFun<? super U, ? super U, ? extends U>) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all keys using the given reducer to combine values, or null if none.
reduceKeysToDouble(long, ConcurrentHashMapV8.ObjectToDouble<? super K>, double, ConcurrentHashMapV8.DoubleByDoubleToDouble) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all keys using the given reducer to combine values, and the given basis as an identity value.
reduceKeysToInt(long, ConcurrentHashMapV8.ObjectToInt<? super K>, int, ConcurrentHashMapV8.IntByIntToInt) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all keys using the given reducer to combine values, and the given basis as an identity value.
reduceKeysToLong(long, ConcurrentHashMapV8.ObjectToLong<? super K>, long, ConcurrentHashMapV8.LongByLongToLong) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all keys using the given reducer to combine values, and the given basis as an identity value.
reduceToDouble(long, ConcurrentHashMapV8.ObjectByObjectToDouble<? super K, ? super V>, double, ConcurrentHashMapV8.DoubleByDoubleToDouble) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all (key, value) pairs using the given reducer to combine values, and the given basis as an identity value.
reduceToInt(long, ConcurrentHashMapV8.ObjectByObjectToInt<? super K, ? super V>, int, ConcurrentHashMapV8.IntByIntToInt) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all (key, value) pairs using the given reducer to combine values, and the given basis as an identity value.
reduceToLong(long, ConcurrentHashMapV8.ObjectByObjectToLong<? super K, ? super V>, long, ConcurrentHashMapV8.LongByLongToLong) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all (key, value) pairs using the given reducer to combine values, and the given basis as an identity value.
reduceValues(long, ConcurrentHashMapV8.BiFun<? super V, ? super V, ? extends V>) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating all values using the given reducer to combine values, or null if none.
reduceValues(long, ConcurrentHashMapV8.Fun<? super V, ? extends U>, ConcurrentHashMapV8.BiFun<? super U, ? super U, ? extends U>) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all values using the given reducer to combine values, or null if none.
reduceValuesToDouble(long, ConcurrentHashMapV8.ObjectToDouble<? super V>, double, ConcurrentHashMapV8.DoubleByDoubleToDouble) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all values using the given reducer to combine values, and the given basis as an identity value.
reduceValuesToInt(long, ConcurrentHashMapV8.ObjectToInt<? super V>, int, ConcurrentHashMapV8.IntByIntToInt) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all values using the given reducer to combine values, and the given basis as an identity value.
reduceValuesToLong(long, ConcurrentHashMapV8.ObjectToLong<? super V>, long, ConcurrentHashMapV8.LongByLongToLong) - Method in class jsr166e.ConcurrentHashMapV8
Returns the result of accumulating the given transformation of all values using the given reducer to combine values, and the given basis as an identity value.
reinitialize() - Method in class jsr166e.ForkJoinTask
Resets the internal bookkeeping state of this task, allowing a subsequent fork.
remove(Object) - Method in class jsr166e.ConcurrentHashMapV8.KeySetView
Removes the key from this map view, by removing the key (and its corresponding value) from the backing map.
remove(Object) - Method in class jsr166e.ConcurrentHashMapV8
Removes the key (and its corresponding value) from this map.
remove(Object, Object) - Method in class jsr166e.ConcurrentHashMapV8
remove(int) - Method in class jsr166e.extra.ReadMostlyVector
 
remove(Object) - Method in class jsr166e.extra.ReadMostlyVector
 
remove(K) - Method in class jsr166e.LongAdderTable
Removes the given key from the table.
removeAll(Collection<?>) - Method in class jsr166e.extra.ReadMostlyVector
 
removeAll() - Method in class jsr166e.LongAdderTable
Removes all keys from the table.
removeAllElements() - Method in class jsr166e.extra.ReadMostlyVector
removeElement(Object) - Method in class jsr166e.extra.ReadMostlyVector
removeElementAt(int) - Method in class jsr166e.extra.ReadMostlyVector
replace(K, V, V) - Method in class jsr166e.ConcurrentHashMapV8
replace(K, V) - Method in class jsr166e.ConcurrentHashMapV8
replaceAll(ConcurrentHashMapV8.BiFun<? super K, ? super V, ? extends V>) - Method in class jsr166e.ConcurrentHashMapV8
 
reset() - Method in class jsr166e.DoubleAdder
Resets variables maintaining the sum to zero.
reset() - Method in class jsr166e.DoubleMaxUpdater
Resets variables maintaining updates to Double.NEGATIVE_INFINITY.
reset() - Method in class jsr166e.LongAdder
Resets variables maintaining the sum to zero.
reset(K) - Method in class jsr166e.LongAdderTable
Resets the sum associated with the given key to zero if the key exists in the table.
reset() - Method in class jsr166e.LongMaxUpdater
Resets variables maintaining updates to Long.MIN_VALUE.
resetAll() - Method in class jsr166e.LongAdderTable
Resets the sum associated with each key to zero.
retainAll(Collection<?>) - Method in class jsr166e.extra.ReadMostlyVector
 
run() - Method in class jsr166e.ForkJoinWorkerThread
This method is required to be public, but should never be called explicitly.

S

search(long, ConcurrentHashMapV8.BiFun<? super K, ? super V, ? extends U>) - Method in class jsr166e.ConcurrentHashMapV8
Returns a non-null result from applying the given search function on each (key, value), or null if none.
searchEntries(long, ConcurrentHashMapV8.Fun<Map.Entry<K, V>, ? extends U>) - Method in class jsr166e.ConcurrentHashMapV8
Returns a non-null result from applying the given search function on each entry, or null if none.
searchKeys(long, ConcurrentHashMapV8.Fun<? super K, ? extends U>) - Method in class jsr166e.ConcurrentHashMapV8
Returns a non-null result from applying the given search function on each key, or null if none.
searchValues(long, ConcurrentHashMapV8.Fun<? super V, ? extends U>) - Method in class jsr166e.ConcurrentHashMapV8
Returns a non-null result from applying the given search function on each value, or null if none.
SequenceLock - Class in jsr166e.extra
A reentrant mutual exclusion Lock in which each lock acquisition or release advances a sequence number.
SequenceLock() - Constructor for class jsr166e.extra.SequenceLock
Creates an instance of SequenceLock with the default number of retry attempts to acquire the lock before blocking.
SequenceLock(int) - Constructor for class jsr166e.extra.SequenceLock
Creates an instance of SequenceLock that will retry attempts to acquire the lock at least the given number of times before blocking.
set(double) - Method in class jsr166e.extra.AtomicDouble
Sets to the given value.
set(int, double) - Method in class jsr166e.extra.AtomicDoubleArray
Sets the element at position i to the given value.
set(int, E) - Method in class jsr166e.extra.ReadMostlyVector
 
setElementAt(E, int) - Method in class jsr166e.extra.ReadMostlyVector
setForkJoinTaskTag(short) - Method in class jsr166e.ForkJoinTask
Atomically sets the tag value for this task.
setPendingCount(int) - Method in class jsr166e.CountedCompleter
Sets the pending count to the given value.
setRawResult(T) - Method in class jsr166e.CountedCompleter
A method that result-bearing CountedCompleters may optionally use to help maintain result data.
setRawResult(V) - Method in class jsr166e.ForkJoinTask
Forces the given value to be returned as a result.
setRawResult(Void) - Method in class jsr166e.RecursiveAction
Requires null completion value.
setRawResult(V) - Method in class jsr166e.RecursiveTask
 
setSeed(long) - Method in class jsr166e.ThreadLocalRandom
Throws UnsupportedOperationException.
setSize(int) - Method in class jsr166e.extra.ReadMostlyVector
shutdown() - Method in class jsr166e.ForkJoinPool
Possibly initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
shutdownNow() - Method in class jsr166e.ForkJoinPool
Possibly attempts to cancel and/or stop all tasks, and reject all subsequently submitted tasks.
size() - Method in class jsr166e.ConcurrentHashMapV8
size() - Method in class jsr166e.extra.ReadMostlyVector
 
snapshotIterator() - Method in class jsr166e.extra.ReadMostlyVector
Returns an iterator operating over a snapshot copy of the elements of this collection created upon construction of the iterator.
spliterator() - Method in class jsr166e.ConcurrentHashMapV8.KeySetView
 
StampedLock - Class in jsr166e
A capability-based lock with three modes for controlling read/write access.
StampedLock() - Constructor for class jsr166e.StampedLock
Creates a new lock, initially in unlocked state.
subList(int, int) - Method in class jsr166e.extra.ReadMostlyVector
 
submit(ForkJoinTask<T>) - Method in class jsr166e.ForkJoinPool
Submits a ForkJoinTask for execution.
submit(Callable<T>) - Method in class jsr166e.ForkJoinPool
 
submit(Runnable, T) - Method in class jsr166e.ForkJoinPool
 
submit(Runnable) - Method in class jsr166e.ForkJoinPool
 
sum() - Method in class jsr166e.DoubleAdder
Returns the current sum.
sum() - Method in class jsr166e.LongAdder
Returns the current sum.
sum(K) - Method in class jsr166e.LongAdderTable
Returns the sum associated with the given key, or zero if the key does not currently exist in the table.
sumAll() - Method in class jsr166e.LongAdderTable
Returns the sum totalled across all keys.
sumThenReset() - Method in class jsr166e.DoubleAdder
Equivalent in effect to DoubleAdder.sum() followed by DoubleAdder.reset().
sumThenReset() - Method in class jsr166e.LongAdder
Equivalent in effect to LongAdder.sum() followed by LongAdder.reset().
sumThenReset(K) - Method in class jsr166e.LongAdderTable
Resets the sum associated with the given key to zero if the key exists in the table.
sumThenResetAll() - Method in class jsr166e.LongAdderTable
Totals, then resets, the sums associated with all keys.

T

ThreadLocalRandom - Class in jsr166e
A random number generator isolated to the current thread.
toArray() - Method in class jsr166e.extra.ReadMostlyVector
 
toArray(T[]) - Method in class jsr166e.extra.ReadMostlyVector
 
toString() - Method in class jsr166e.ConcurrentHashMapV8
Returns a string representation of this map.
toString() - Method in class jsr166e.DoubleAdder
Returns the String representation of the DoubleAdder.sum().
toString() - Method in class jsr166e.DoubleMaxUpdater
Returns the String representation of the DoubleMaxUpdater.max().
toString() - Method in class jsr166e.extra.AtomicDouble
Returns the String representation of the current value.
toString() - Method in class jsr166e.extra.AtomicDoubleArray
Returns the String representation of the current values of array.
toString() - Method in class jsr166e.extra.ReadMostlyVector
 
toString() - Method in class jsr166e.extra.SequenceLock
Returns a string identifying this lock, as well as its lock state.
toString() - Method in class jsr166e.ForkJoinPool
Returns a string identifying this pool, as well as its state, including indications of run state, parallelism level, and worker and task counts.
toString() - Method in class jsr166e.LongAdder
Returns the String representation of the LongAdder.sum().
toString() - Method in class jsr166e.LongMaxUpdater
Returns the String representation of the LongMaxUpdater.max().
toString() - Method in class jsr166e.StampedLock
Returns a string identifying this lock, as well as its lock state.
trimToSize() - Method in class jsr166e.extra.ReadMostlyVector
tryAdvance(ConcurrentHashMapV8.Action<? super T>) - Method in interface jsr166e.ConcurrentHashMapV8.ConcurrentHashMapSpliterator
If an element remains, applies the action and returns true.
tryAwaitAvailability(long, TimeUnit) - Method in class jsr166e.extra.SequenceLock
Returns the current sequence number if the lock is, or becomes, available within the specified waiting time.
tryComplete() - Method in class jsr166e.CountedCompleter
If the pending count is nonzero, decrements the count; otherwise invokes CountedCompleter.onCompletion(jsr166e.CountedCompleter) and then similarly tries to complete this task's completer, if one exists, else marks this task as complete.
tryConvertToOptimisticRead(long) - Method in class jsr166e.StampedLock
If the lock state matches the given stamp then, if the stamp represents holding a lock, releases it and returns an observation stamp.
tryConvertToReadLock(long) - Method in class jsr166e.StampedLock
If the lock state matches the given stamp, performs one of the following actions.
tryConvertToWriteLock(long) - Method in class jsr166e.StampedLock
If the lock state matches the given stamp, performs one of the following actions.
tryLock() - Method in class jsr166e.extra.SequenceLock
Acquires the lock only if it is not held by another thread at the time of invocation.
tryLock(long, TimeUnit) - Method in class jsr166e.extra.SequenceLock
Acquires the lock if it is not held by another thread within the given waiting time and the current thread has not been interrupted.
tryOptimisticRead() - Method in class jsr166e.StampedLock
Returns a stamp that can later be validated, or zero if exclusively locked.
tryReadLock() - Method in class jsr166e.StampedLock
Non-exclusively acquires the lock if it is immediately available.
tryReadLock(long, TimeUnit) - Method in class jsr166e.StampedLock
Non-exclusively acquires the lock if it is available within the given time and the current thread has not been interrupted.
trySplit() - Method in interface jsr166e.ConcurrentHashMapV8.ConcurrentHashMapSpliterator
If possible, returns a new spliterator covering approximately one half of the elements, which will not be covered by this spliterator.
tryUnfork() - Method in class jsr166e.ForkJoinTask
Tries to unschedule this task for execution.
tryUnlockRead() - Method in class jsr166e.StampedLock
Releases one hold of the read lock if it is held, without requiring a stamp value.
tryUnlockWrite() - Method in class jsr166e.StampedLock
Releases the write lock if it is held, without requiring a stamp value.
tryWriteLock() - Method in class jsr166e.StampedLock
Exclusively acquires the lock if it is immediately available.
tryWriteLock(long, TimeUnit) - Method in class jsr166e.StampedLock
Exclusively acquires the lock if it is available within the given time and the current thread has not been interrupted.

U

unlock() - Method in class jsr166e.extra.SequenceLock
Attempts to release this lock.
unlock(long) - Method in class jsr166e.StampedLock
If the lock state matches the given stamp, releases the corresponding mode of the lock.
unlockRead(long) - Method in class jsr166e.StampedLock
If the lock state matches the given stamp, releases the non-exclusive lock.
unlockWrite(long) - Method in class jsr166e.StampedLock
If the lock state matches the given stamp, releases the exclusive lock.
update(double) - Method in class jsr166e.DoubleMaxUpdater
Updates the maximum to be at least the given value.
update(long) - Method in class jsr166e.LongMaxUpdater
Updates the maximum to be at least the given value.

V

validate(long) - Method in class jsr166e.StampedLock
Returns true if the lock has not been exclusively acquired since issuance of the given stamp.
values() - Method in class jsr166e.ConcurrentHashMapV8
Returns a Collection view of the values contained in this map.

W

weakCompareAndSet(double, double) - Method in class jsr166e.extra.AtomicDouble
Atomically sets the value to the given updated value if the current value is bitwise equal to the expected value.
weakCompareAndSet(int, double, double) - Method in class jsr166e.extra.AtomicDoubleArray
Atomically sets the element at position i to the given updated value if the current value is bitwise equal to the expected value.
writeLock() - Method in class jsr166e.StampedLock
Exclusively acquires the lock, blocking if necessary until available.
writeLockInterruptibly() - Method in class jsr166e.StampedLock
Exclusively acquires the lock, blocking if necessary until available or the current thread is interrupted.
A B C D E F G H I J K L M N O P Q R S T U V W 

Copyright © 2013. All rights reserved.