- addAll(T[]) - Method in class jsr166y.forkjoin.ParallelArray
-
Equivalent to AsList.addAll but specialized for array
arguments and likely to be more efficient.
- addAll(ParallelArray<T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Equivalent to AsList.addAll but specialized for
ParallelArray arguments and likely to be more efficient.
- addAll(ParallelArray.WithBounds<T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Equivalent to AsList.addAll but specialized for
ParallelArray arguments and likely to be more efficient.
- addAll(double[]) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Equivalent to AsList.addAll but specialized for array
arguments and likely to be more efficient.
- addAll(ParallelDoubleArray) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Equivalent to AsList.addAll but specialized for
ParallelDoubleArray arguments and likely to be more efficient.
- addAll(ParallelDoubleArray.WithBounds) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Equivalent to AsList.addAll but specialized for
ParallelDoubleArray arguments and likely to be more efficient.
- addAll(long[]) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Equivalent to AsList.addAll but specialized for array
arguments and likely to be more efficient.
- addAll(ParallelLongArray) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Equivalent to AsList.addAll but specialized for
ParallelLongArray arguments and likely to be more efficient.
- addAll(ParallelLongArray.WithBounds) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Equivalent to AsList.addAll but specialized for
ParallelLongArray arguments and likely to be more efficient.
- addWorkers(int) - Method in class jsr166y.forkjoin.ForkJoinPool
-
Tries to adds the indicated number of new worker threads to the
pool.
- all() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a new ParallelArray holding all elements
- all(Class<? super T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a new ParallelArray with the given element type holding
all elements
- all() - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- all(Class<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- all() - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns a new ParallelDoubleArray holding mappings
- all() - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns a new ParallelLongArray holding mappings
- all() - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns a new ParallelArray holding elements
- all(Class<? super U>) - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns a new ParallelArray with the given element type
holding elements
- all() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns a new ParallelDoubleArray holding all elements
- all() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
- all() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns a new ParallelDoubleArray holding elements
- all() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns a new ParallelLongArray holding mappings
- all() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns a new ParallelArray holding elements
- all(Class<? super U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns a new ParallelArray with the given element type holding
elements
- all() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns a new ParallelLongArray holding all elements
- all() - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
- all() - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns a new ParallelDoubleArray holding mappings
- all() - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns a new ParallelLongArray holding elements
- all() - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns a new ParallelArray holding mapped elements
- all(Class<? super U>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns a new ParallelArray with the given element type holding
all elements
- allNonidenticalElements() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a new ParallelArray containing only the non-null unique
elements of this array (that is, without any duplicates).
- allNonidenticalElements() - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- allNonidenticalElements() - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Returns a new ParallelArray containing only non-null unique
elements (that is, without any duplicates).
- allUniqueElements() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a new ParallelArray containing only the non-null unique
elements of this array (that is, without any duplicates).
- allUniqueElements() - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- allUniqueElements() - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Returns a new ParallelArray containing only non-null unique
elements (that is, without any duplicates).
- allUniqueElements() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns a new ParallelDoubleArray containing only the unique
elements of this array (that is, without any duplicates).
- allUniqueElements() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
- allUniqueElements() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Returns a new ParallelDoubleArray containing only unique
elements (that is, without any duplicates).
- allUniqueElements() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns a new ParallelLongArray containing only the unique
elements of this array (that is, without any duplicates).
- allUniqueElements() - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
- allUniqueElements() - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Returns a new ParallelLongArray containing only unique
elements (that is, without any duplicates).
- andPredicate(Ops.Predicate<S>, Ops.Predicate<? super T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to the conjunction of its contained predicates
- andPredicate(Ops.DoublePredicate, Ops.DoublePredicate) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to the conjunction of its contained predicates
- andPredicate(Ops.LongPredicate, Ops.LongPredicate) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to the conjunction of its contained predicates
- any() - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- any() - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns some element matching bound and filter
constraints, or null if none.
- any() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns mapping of some element matching bound and filter
constraints, or null if none.
- any() - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns mapping of some element matching bound and filter
constraints, or null if none.
- anyIndex() - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- anyIndex() - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns the index of some element matching bound and filter
constraints, or -1 if none.
- anyIndex() - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns the index of some element matching bound and filter
constraints, or -1 if none.
- anyIndex() - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns the index of some element matching bound and filter
constraints, or -1 if none.
- anyIndex() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
- anyIndex() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns the index of some element matching bound and filter
constraints, or -1 if none.
- anyIndex() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns the index of some element matching bound and filter
constraints, or -1 if none.
- anyIndex() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns the index of some element matching bound and filter
constraints, or -1 if none.
- anyIndex() - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
- anyIndex() - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns the index of some element matching bound and filter
constraints, or -1 if none.
- anyIndex() - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns the index of some element matching bound and filter
constraints, or -1 if none.
- anyIndex() - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns the index of some element matching bound and filter
constraints, or -1 if none.
- apply(double) - Method in interface jsr166y.forkjoin.Ops.DoubleProcedure
-
- apply(int) - Method in interface jsr166y.forkjoin.Ops.IntProcedure
-
- apply(long) - Method in interface jsr166y.forkjoin.Ops.LongProcedure
-
- apply(T) - Method in interface jsr166y.forkjoin.Ops.Procedure
-
- apply(Ops.Procedure<? super T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Applies the given procedure to elements
- apply(Ops.DoubleProcedure) - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Applies the given procedure
- apply(Ops.Procedure<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
- apply(Ops.LongProcedure) - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Applies the given procedure
- apply(Ops.Procedure<? super U>) - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Applies the given procedure to elements
- apply(Ops.DoubleProcedure) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Applies the given procedure to elements
- apply(Ops.DoubleProcedure) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Applies the given procedure to elements
- apply(Ops.LongProcedure) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Applies the given procedure
- apply(Ops.Procedure<? super U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Applies the given procedure to mapped elements
- apply(Ops.LongProcedure) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Applies the given procedure to elements
- apply(Ops.DoubleProcedure) - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Applies the given procedure
- apply(Ops.LongProcedure) - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Applies the given procedure to elements
- apply(Ops.Procedure<? super U>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Applies the given procedure to mapped elements
- arrive() - Method in class jsr166y.forkjoin.TaskBarrier
-
Arrives at the barrier, but does not wait for others.
- arriveAndAwait() - Method in class jsr166y.forkjoin.TaskBarrier
-
Arrives at the barrier and awaits others.
- arriveAndDeregister() - Method in class jsr166y.forkjoin.TaskBarrier
-
Arrives at the barrier, and deregisters from it.
- asList() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a view of this ParallelArray as a List.
- asList() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns a view of this ParallelDoubleArray as a List.
- asList() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns a view of this ParallelLongArray as a List.
- AsyncAction - Class in jsr166y.forkjoin
-
Resultless ForkJoinTasks with explicit completions.
- AsyncAction() - Constructor for class jsr166y.forkjoin.AsyncAction
-
- average() - Method in interface jsr166y.forkjoin.ParallelDoubleArray.SummaryStatistics
-
Return the arithmetic average of all elements
- average() - Method in interface jsr166y.forkjoin.ParallelLongArray.SummaryStatistics
-
Return the arithmetic average of all elements
- awaitCycleAdvance(int) - Method in class jsr166y.forkjoin.TaskBarrier
-
Awaits the cycle of the barrier to advance from the given
value, by helping other tasks.
- awaitTermination(long, TimeUnit) - Method in class jsr166y.forkjoin.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.
- binarySearch(T) - Method in class jsr166y.forkjoin.ParallelArray
-
Assuming this array is sorted, returns the index of an element
equal to given target, or -1 if not present.
- binarySearch(T, Comparator<? super T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Assuming this array is sorted with respect to the given
comparator, returns the index of an element equal to given
target, or -1 if not present.
- binarySearch(T) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Assuming this array is sorted, returns the index of an
element equal to given target, or -1 if not present.
- binarySearch(T, Comparator<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Assuming this array is sorted with respect to the given
comparator, returns the index of an element equal to given
target, or -1 if not present.
- binarySearch(double) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Assuming this array is sorted, returns the index of an element
equal to given target, or -1 if not present.
- binarySearch(double, Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Assuming this array is sorted with respect to the given
comparator, returns the index of an element equal to given
target, or -1 if not present.
- binarySearch(double) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Assuming this array is sorted, returns the index of an
element equal to given target, or -1 if not present.
- binarySearch(double, Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Assuming this array is sorted with respect to the given
comparator, returns the index of an element equal to given
target, or -1 if not present.
- binarySearch(long) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Assuming this array is sorted, returns the index of an element
equal to given target, or -1 if not present.
- binarySearch(long, Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Assuming this array is sorted with respect to the given
comparator, returns the index of an element equal to given
target, or -1 if not present.
- binarySearch(long) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Assuming this array is sorted, returns the index of an
element equal to given target, or -1 if not present.
- binarySearch(long, Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Assuming this array is sorted with respect to the given
comparator, returns the index of an element equal to given
target, or -1 if not present.
- cancel() - Method in class jsr166y.forkjoin.ForkJoinTask
-
Asserts that the results of this task's computation will not be
used.
- castedComparator() - Static method in class jsr166y.forkjoin.Ops
-
Returns a Comparator that casts its arguments as Comparable on
each comparison, throwing ClassCastException on failure.
- castedMaxReducer() - Static method in class jsr166y.forkjoin.Ops
-
Returns a reducer returning maximum of two values, or
null if both arguments are null, and that casts
its arguments as Comparable on each comparison, throwing
ClassCastException on failure.
- castedMinReducer() - Static method in class jsr166y.forkjoin.Ops
-
Returns a reducer returning minimum of two values, or
null if both arguments are null, and that casts
its arguments as Comparable on each comparison, throwing
ClassCastException on failure.
- combine(T, U) - Method in interface jsr166y.forkjoin.Ops.Combiner
-
- combine(double, double) - Method in interface jsr166y.forkjoin.Ops.DoubleReducer
-
- combine(int, int) - Method in interface jsr166y.forkjoin.Ops.IntReducer
-
- combine(long, long) - Method in interface jsr166y.forkjoin.Ops.LongReducer
-
- combine(T, T) - Method in interface jsr166y.forkjoin.Ops.Reducer
-
- combine(U[], Ops.Combiner<? super T, ? super U, ? extends V>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelArray<? extends U>, Ops.Combiner<? super T, ? super U, ? extends V>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(U[], Ops.Combiner<? super T, ? super U, ? extends V>, Class<? super V>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelArray.WithBounds<? extends U>, Ops.Combiner<? super T, ? super U, ? extends V>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelArray.WithBounds<? extends U>, Ops.Combiner<? super T, ? super U, ? extends V>, Class<? super V>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelArray<? extends U>, Ops.Combiner<? super T, ? super U, ? extends V>, Class<? super V>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(U[], Ops.Combiner<? super T, ? super U, ? extends V>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(U[], Ops.Combiner<? super T, ? super U, ? extends V>, Class<? super V>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelArray<? extends U>, Ops.Combiner<? super T, ? super U, ? extends V>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelArray<? extends U>, Ops.Combiner<? super T, ? super U, ? extends V>, Class<? super V>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelArray.WithBounds<? extends U>, Ops.Combiner<? super T, ? super U, ? extends V>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelArray.WithBounds<? extends U>, Ops.Combiner<? super T, ? super U, ? extends V>, Class<? super V>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Returns a ParallelArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(double[], Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns a ParallelDoubleArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelDoubleArray, Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns a ParallelDoubleArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelDoubleArray.WithBounds, Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns a ParallelDoubleArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(double[], Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Returns a ParallelDoubleArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelDoubleArray, Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Returns a ParallelDoubleArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelDoubleArray.WithBounds, Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Returns a ParallelDoubleArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(long[], Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns a ParallelLongArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelLongArray, Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns a ParallelLongArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelLongArray.WithBounds, Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns a ParallelLongArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(long[], Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Returns a ParallelLongArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelLongArray, Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Returns a ParallelLongArray containing results of
applying combine(thisElement, otherElement)
for each element.
- combine(ParallelLongArray.WithBounds, Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Returns a ParallelLongArray containing results of
applying combine(thisElement, otherElement)
for each element.
- compare(double, double) - Method in interface jsr166y.forkjoin.Ops.DoubleComparator
-
- compare(int, int) - Method in interface jsr166y.forkjoin.Ops.IntComparator
-
- compare(long, long) - Method in interface jsr166y.forkjoin.Ops.LongComparator
-
- compoundMapper(Ops.Mapper<? super T, ? extends U>, Ops.Mapper<? super U, ? extends V>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperToDouble<? super T>, Ops.MapperFromDouble<? extends V>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperToLong<? super T>, Ops.MapperFromLong<? extends V>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromDouble<? extends T>, Ops.Mapper<? super T, ? extends V>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromLong<? extends T>, Ops.Mapper<? super T, ? extends V>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.Mapper<? super T, ? extends U>, Ops.MapperToDouble<? super U>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.Mapper<? super T, ? extends U>, Ops.MapperToLong<? super U>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperToDouble<? super T>, Ops.DoubleMapper) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperToDouble<? super T>, Ops.MapperFromDoubleToLong) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperToLong<? super T>, Ops.LongMapper) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperToLong<? super T>, Ops.MapperFromLongToDouble) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.DoubleMapper, Ops.DoubleMapper) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.DoubleMapper, Ops.MapperFromDoubleToLong) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromDoubleToLong, Ops.LongMapper) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromDoubleToLong, Ops.MapperFromLong<? extends T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromLongToDouble, Ops.MapperFromDouble<? extends T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.LongMapper, Ops.MapperFromLongToDouble) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromLongToDouble, Ops.DoubleMapper) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.DoubleMapper, Ops.MapperFromDouble<? extends T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.LongMapper, Ops.MapperFromLong<? extends T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromDouble<? extends T>, Ops.MapperToDouble<? super T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromLong<? extends T>, Ops.MapperToDouble<? super T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromDouble<? extends T>, Ops.MapperToLong<? super T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromLong<? extends T>, Ops.MapperToLong<? super T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.LongMapper, Ops.LongMapper) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromDoubleToLong, Ops.MapperFromLongToDouble) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compoundMapper(Ops.MapperFromLongToDouble, Ops.MapperFromDoubleToLong) - Static method in class jsr166y.forkjoin.Ops
-
Returns a composite mapper that applies a second mapper to the results
of applying the first one
- compute() - Method in class jsr166y.forkjoin.AsyncAction
-
The asynchronous part of the computation performed by this
task.
- compute() - Method in class jsr166y.forkjoin.CyclicAction
-
The computation performed by this task on each cycle of the
barrier.
- compute() - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
The asynchronous part of the computation performed by this
task.
- compute() - Method in class jsr166y.forkjoin.RecursiveAction
-
The main computation performed by this task.
- compute() - Method in class jsr166y.forkjoin.RecursiveTask
-
The main computation performed by this task.
- create(int, Class<? super T>, ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelArray
-
Creates a new ParallelArray using the given executor and
an array of the given size constructed using the
indicated base element type.
- create(int, ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelDoubleArray
-
Creates a new ParallelDoubleArray using the given executor and
an array of the given size
- create(int, ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelLongArray
-
Creates a new ParallelLongArray using the given executor and
an array of the given size
- createEmpty(int, Class<? super T>, ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelArray
-
Creates a new ParallelArray using the given executor and an
array of the given size constructed using the indicated base
element type, but with an initial effective size of zero,
enabling incremental insertion via
ParallelArray.asList()
operations.
- createEmpty(int, ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelDoubleArray
-
Creates a new ParallelDoubleArray using the given executor and
an array of the given size, but with an initial effective size
of zero, enabling incremental insertion via
ParallelDoubleArray.asList()
operations.
- createEmpty(int, ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelLongArray
-
Creates a new ParallelLongArray using the given executor and
an array of the given size, but with an initial effective size
of zero, enabling incremental insertion via
ParallelLongArray.asList()
operations.
- createFromCopy(T[], ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelArray
-
Creates a new ParallelArray using the given executor and
initially holding copies of the given
source elements.
- createFromCopy(int, T[], ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelArray
-
Creates a new ParallelArray using an array of the given size,
initially holding copies of the given source truncated or
padded with nulls to obtain the specified length.
- createFromCopy(double[], ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelDoubleArray
-
Creates a new ParallelDoubleArray using the given executor and
initially holding copies of the given
source elements.
- createFromCopy(int, double[], ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelDoubleArray
-
Creates a new ParallelDoubleArray using an array of the given size,
initially holding copies of the given source truncated or
padded with zeros to obtain the specified length.
- createFromCopy(long[], ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelLongArray
-
Creates a new ParallelLongArray using the given executor and
initially holding copies of the given
source elements.
- createFromCopy(int, long[], ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelLongArray
-
Creates a new ParallelLongArray using an array of the given size,
initially holding copies of the given source truncated or
padded with zeros to obtain the specified length.
- createUsingHandoff(T[], ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelArray
-
Creates a new ParallelArray initially using the given array and
executor.
- createUsingHandoff(double[], ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelDoubleArray
-
Creates a new ParallelDoubleArray initially using the given array and
executor.
- createUsingHandoff(long[], ForkJoinExecutor) - Static method in class jsr166y.forkjoin.ParallelLongArray
-
Creates a new ParallelLongArray initially using the given array and
executor.
- cumulate(Ops.Reducer<T>, T) - Method in class jsr166y.forkjoin.ParallelArray
-
Replaces each element with the running cumulation of applying
the given reducer.
- cumulate(Ops.Reducer<T>, T) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Replaces each element with the running cumulation of applying
the given reducer.
- cumulate(Ops.DoubleReducer, double) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces each element with the running cumulation of applying
the given reducer.
- cumulate(Ops.DoubleReducer, double) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Replaces each element with the running cumulation of applying
the given reducer.
- cumulate(Ops.LongReducer, long) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces each element with the running cumulation of applying
the given reducer.
- cumulate(Ops.LongReducer, long) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Replaces each element with the running cumulation of applying
the given reducer.
- cumulateSum() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces each element with the running sum
- cumulateSum() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Replaces each element with the running sum
- cumulateSum() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces each element with the running sum
- cumulateSum() - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Replaces each element with the running sum
- CyclicAction - Class in jsr166y.forkjoin
-
A computation that is broken into a series of task executions, each
separated by a TaskBarrier arrival.
- CyclicAction(TaskBarrier) - Constructor for class jsr166y.forkjoin.CyclicAction
-
Constructs a new CyclicAction using the supplied barrier,
registering for this barrier upon construction.
- finish() - Method in class jsr166y.forkjoin.AsyncAction
-
Equivalent to finish(null).
- finish(Void) - Method in class jsr166y.forkjoin.AsyncAction
-
- finish() - Method in class jsr166y.forkjoin.CyclicAction
-
Equivalent to finish(null).
- finish(Void) - Method in class jsr166y.forkjoin.CyclicAction
-
- finish(V) - Method in class jsr166y.forkjoin.ForkJoinTask
-
Completes this task, and if not already aborted or cancelled,
returning the given result upon join and related
operations.
- finish() - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Equivalent to finish(null).
- finish(Void) - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Completes this task.
- finish() - Method in class jsr166y.forkjoin.RecursiveAction
-
Equivalent to finish(null).
- finish(Void) - Method in class jsr166y.forkjoin.RecursiveAction
-
- finish(V) - Method in class jsr166y.forkjoin.RecursiveTask
-
- finishExceptionally(Throwable) - Method in class jsr166y.forkjoin.AsyncAction
-
- finishExceptionally(Throwable) - Method in class jsr166y.forkjoin.CyclicAction
-
- finishExceptionally(Throwable) - Method in class jsr166y.forkjoin.ForkJoinTask
-
Completes this task abnormally, and if not already aborted or
cancelled, causes it to throw the given exception upon
join and related operations.
- finishExceptionally(Throwable) - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Completes this task abnormally.
- finishExceptionally(Throwable) - Method in class jsr166y.forkjoin.RecursiveAction
-
- finishExceptionally(Throwable) - Method in class jsr166y.forkjoin.RecursiveTask
-
- fork() - Method in class jsr166y.forkjoin.ForkJoinTask
-
Arranges to asynchronously execute this task, which will later
be directly or indirectly joined by the caller of this method.
- forkJoin() - Method in class jsr166y.forkjoin.AsyncAction
-
- forkJoin() - Method in class jsr166y.forkjoin.CyclicAction
-
- forkJoin() - Method in class jsr166y.forkjoin.ForkJoinTask
-
Equivalent in effect to the sequence fork(); join();
but may be more efficient.
- forkJoin() - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
- forkJoin(RecursiveAction, RecursiveAction) - Static method in class jsr166y.forkjoin.RecursiveAction
-
Forks both tasks and returns when isDone holds for
both..
- forkJoin(RecursiveAction[]) - Static method in class jsr166y.forkjoin.RecursiveAction
-
Forks all tasks in the array, returning when isDone
holds for all of them.
- forkJoin(List<? extends RecursiveAction>) - Static method in class jsr166y.forkjoin.RecursiveAction
-
Forks all tasks in the list, returning when isDone
holds for all of them.
- forkJoin() - Method in class jsr166y.forkjoin.RecursiveAction
-
- forkJoin() - Method in class jsr166y.forkjoin.RecursiveTask
-
- ForkJoinExecutor - Interface in jsr166y.forkjoin
-
- ForkJoinPool - Class in jsr166y.forkjoin
-
Host for a group of ForkJoinWorkerThreads that perform
ForkJoinTasks.
- ForkJoinPool() - Constructor for class jsr166y.forkjoin.ForkJoinPool
-
Creates a ForkJoinPool with a pool size equal to the number of
processors available on the system and using the default
ForkJoinWorkerThreadFactory,
- ForkJoinPool(int) - Constructor for class jsr166y.forkjoin.ForkJoinPool
-
Creates a ForkJoinPool with the indicated number of Worker
threads, and using the default ForkJoinWorkerThreadFactory,
- ForkJoinPool(ForkJoinPool.ForkJoinWorkerThreadFactory) - Constructor for class jsr166y.forkjoin.ForkJoinPool
-
Creates a ForkJoinPool with a pool size equal to the number of
processors available on the system and using the given
ForkJoinWorkerThreadFactory,
- ForkJoinPool(int, ForkJoinPool.ForkJoinWorkerThreadFactory) - Constructor for class jsr166y.forkjoin.ForkJoinPool
-
Creates a ForkJoinPool with the indicated number of worker
threads and the given factory.
- ForkJoinPool.DefaultForkJoinWorkerThreadFactory - Class in jsr166y.forkjoin
-
The default ForkJoinWorkerThreadFactory, used unless overridden
in ForkJoinPool constructors.
- ForkJoinPool.DefaultForkJoinWorkerThreadFactory() - Constructor for class jsr166y.forkjoin.ForkJoinPool.DefaultForkJoinWorkerThreadFactory
-
- ForkJoinPool.ForkJoinWorkerThreadFactory - Interface in jsr166y.forkjoin
-
Factory for creating new ForkJoinWorkerThreads.
- ForkJoinTask<V> - Class in jsr166y.forkjoin
-
Abstract base class for tasks that run within a ForkJoinPool.
- ForkJoinWorkerThread - Class in jsr166y.forkjoin
-
A thread that is internally managed by a ForkJoinPool to execute
ForkJoinTasks.
- ForkJoinWorkerThread(ForkJoinPool) - Constructor for class jsr166y.forkjoin.ForkJoinWorkerThread
-
Creates a ForkJoinWorkerThread operating in the given pool.
- generate() - Method in interface jsr166y.forkjoin.Ops.DoubleGenerator
-
- generate() - Method in interface jsr166y.forkjoin.Ops.Generator
-
- generate() - Method in interface jsr166y.forkjoin.Ops.IntGenerator
-
- generate() - Method in interface jsr166y.forkjoin.Ops.LongGenerator
-
- get(int) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns the element of the array at the given index
- get(int) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns the element of the array at the given index
- get(int) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns the element of the array at the given index
- getActiveParties() - Method in class jsr166y.forkjoin.TaskBarrier
-
Returns the number of parties that have not yet arrived at the
current cycle of this barrier.
- getActiveSubmissionCount() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns the number of tasks that have been submitted (via
submit or invoke) and are currently executing
in the pool.
- getActiveThreadCount() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns the approximate number of threads that are
currently executing tasks.
- getArray() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns the underlying array used for computations
- getArray() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns the underlying array used for computations
- getArray() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns the underlying array used for computations
- getBarrier() - Method in class jsr166y.forkjoin.CyclicAction
-
Returns the barrier
- getCycle() - Method in class jsr166y.forkjoin.CyclicAction
-
Returns the current cycle of the barrier
- getCycle() - Method in class jsr166y.forkjoin.TaskBarrier
-
Returns the current cycle number.
- getEstimatedSurplusTaskCount() - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Returns an estimate of how many more locally queued tasks there
are than idle worker threads that might steal them.
- getException() - Method in class jsr166y.forkjoin.ForkJoinTask
-
Returns the exception thrown by method compute, or a
CancellationException if cancelled, or null if none or if the
method has not yet completed.
- getExecutor() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns the executor used for computations
- getExecutor() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns the executor used for computations
- getExecutor() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns the executor used for computations
- getFactory() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns the factory used for constructing new workers
- getIdleThreadCount() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns the approximate number of threads that are currently
idle waiting for tasks.
- getLocalQueueSize() - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Returns the number of tasks waiting to be run by the current
worker thread.
- getParallelismLevel() - Method in interface jsr166y.forkjoin.ForkJoinExecutor
-
Returns an estimate of how many tasks (including subtasks)
may execute at once.
- getParallelismLevel() - Method in class jsr166y.forkjoin.ForkJoinPool
-
- getParent() - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Returns this task's parent, or null if none.
- getPendingSubtaskCount() - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Returns the number of subtasks that have not yet completed.
- getPool() - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Returns the pool hosting the current task execution.
- getPoolIndex() - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Returns the index number of the current worker thread in its
pool.
- getPoolSize() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns the targetted number of worker threads in this pool.
- getRegisteredParties() - Method in class jsr166y.forkjoin.TaskBarrier
-
Returns the number of parties registered at this barrier.
- getRunningWorkerCount() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns the number of worker threads that have started but not
yet terminated.
- getStealCount() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns the total number of tasks stolen from one thread's work
queue by another.
- getTotalPerThreadQueueSize() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns 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).
- getUncaughtExceptionHandler() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns the handler for internal worker threads that terminate
due to unrecoverable errors encountered while executing tasks.
- getWaitingConsumerCount() - Method in class jsr166y.LinkedTransferQueue
-
- getWaitingConsumerCount() - Method in interface jsr166y.TransferQueue
-
Returns an estimate of the number of consumers waiting to
dequeue elements via take or poll.
- indexOf(T) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns the index of some element equal to given target,
or -1 if not present
- indexOf(T) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Returns the index of some element equal to given target, or
-1 if not present
- indexOf(double) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns the index of some element equal to given target, or -1
if not present
- indexOf(double) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Returns the index of some element equal to given target,
or -1 if not present
- indexOf(long) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns the index of some element equal to given target, or -1
if not present
- indexOf(long) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Returns the index of some element equal to given target, or
-1 if not present
- indexOfMax() - Method in interface jsr166y.forkjoin.ParallelArray.SummaryStatistics
-
Return the index of the maximum element, or -1 if empty
- indexOfMax() - Method in interface jsr166y.forkjoin.ParallelDoubleArray.SummaryStatistics
-
Return the index of the maximum element, or -1 if empty
- indexOfMax() - Method in interface jsr166y.forkjoin.ParallelLongArray.SummaryStatistics
-
Return the index of the maximum element, or -1 if empty
- indexOfMin() - Method in interface jsr166y.forkjoin.ParallelArray.SummaryStatistics
-
Return the index of the minimum element, or -1 if empty
- indexOfMin() - Method in interface jsr166y.forkjoin.ParallelDoubleArray.SummaryStatistics
-
Return the index of the minimum element, or -1 if empty
- indexOfMin() - Method in interface jsr166y.forkjoin.ParallelLongArray.SummaryStatistics
-
Return the index of the minimum element, or -1 if empty
- instanceofPredicate(Class) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to true if its argument is an instance
of (see Class.isInstance(java.lang.Object)
the given type (class).
- intAdder() - Static method in class jsr166y.forkjoin.Ops
-
Returns a reducer that adds two int elements
- intRandom() - Static method in class jsr166y.forkjoin.Ops
-
Returns a generator producing uniform random values with the
same properties as Random.nextInt()
but
operating independently across ForkJoinWorkerThreads and usable
only within forkjoin computations.
- intRandom(int) - Static method in class jsr166y.forkjoin.Ops
-
Returns a generator producing uniform random values with the
same properties as Random.nextInt(int)
but
operating independently across ForkJoinWorkerThreads and usable
only within forkjoin computations.
- intRandom(int, int) - Static method in class jsr166y.forkjoin.Ops
-
Returns a generator producing uniform random values between the
given least value (inclusive) and bound (exclusive), operating
independently across ForkJoinWorkerThreads and usable only
within forkjoin computations.
- invoke(ForkJoinTask<T>) - Method in interface jsr166y.forkjoin.ForkJoinExecutor
-
Performs the given task; returning its result upon completion
- invoke(ForkJoinTask<T>) - Method in class jsr166y.forkjoin.ForkJoinPool
-
Performs the given task; returning its result upon completion
- isAssignablePredicate(Class) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to true if its argument is assignable
from (see Class.isAssignableFrom(java.lang.Class>)
the given type (class).
- isCancelled() - Method in class jsr166y.forkjoin.ForkJoinTask
-
Returns true if this task was cancelled.
- isDone() - Method in class jsr166y.forkjoin.ForkJoinTask
-
Returns true if the computation performed by this task has
completed (or has been cancelled).
- isEmpty() - Method in class jsr166y.LinkedTransferQueue
-
- isNonNullPredicate() - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to true if its argument is non-null
- isNullPredicate() - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to true if its argument is null
- isQuiescent() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns true if all worker threads are currently idle.
- isShutdown() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns true if this pool has been shut down.
- isStolen() - Method in class jsr166y.forkjoin.ForkJoinTask
-
Returns true if this task was stolen from some other worker in the
pool and has not yet completed.
- isTerminated() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns true if all tasks have completed following shut down.
- isTerminated() - Method in class jsr166y.forkjoin.TaskBarrier
-
Returns true if this barrier has been terminated
- isTerminating() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Returns true if termination has commenced but has
not yet completed.
- iterator() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns an iterator stepping through each element of the array
up to the current limit.
- iterator() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns an iterator stepping through each element of the array
up to the current limit.
- iterator() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns an iterator stepping through each element of the array
up to the current limit.
- iterator() - Method in class jsr166y.LinkedTransferQueue
-
- map(double) - Method in interface jsr166y.forkjoin.Ops.DoubleMapper
-
- map(int) - Method in interface jsr166y.forkjoin.Ops.IntMapper
-
- map(long) - Method in interface jsr166y.forkjoin.Ops.LongMapper
-
- map(T) - Method in interface jsr166y.forkjoin.Ops.Mapper
-
- map(double) - Method in interface jsr166y.forkjoin.Ops.MapperFromDouble
-
- map(double) - Method in interface jsr166y.forkjoin.Ops.MapperFromDoubleToInt
-
- map(double) - Method in interface jsr166y.forkjoin.Ops.MapperFromDoubleToLong
-
- map(int) - Method in interface jsr166y.forkjoin.Ops.MapperFromInt
-
- map(int) - Method in interface jsr166y.forkjoin.Ops.MapperFromIntToDouble
-
- map(int) - Method in interface jsr166y.forkjoin.Ops.MapperFromIntToLong
-
- map(long) - Method in interface jsr166y.forkjoin.Ops.MapperFromLong
-
- map(long) - Method in interface jsr166y.forkjoin.Ops.MapperFromLongToDouble
-
- map(long) - Method in interface jsr166y.forkjoin.Ops.MapperFromLongToInt
-
- map(T) - Method in interface jsr166y.forkjoin.Ops.MapperToDouble
-
- map(T) - Method in interface jsr166y.forkjoin.Ops.MapperToInt
-
- map(T) - Method in interface jsr166y.forkjoin.Ops.MapperToLong
-
- max(Comparator<? super T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns the maximum element, or null if empty
- max() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns the maximum element, or null if empty
assuming that all elements are Comparables
- max() - Method in interface jsr166y.forkjoin.ParallelArray.SummaryStatistics
-
Return the maximum element, or null if empty
- max() - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns the maximum element, or -Double.MAX_VALUE if empty
- max(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns the maximum element, or -Double.MAX_VALUE if empty
- max(Comparator<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
- max() - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
- max() - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns the maximum element, or Long.MIN_VALUE if empty
- max(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns the maximum element, or Long.MIN_VALUE if empty
- max(Comparator<? super U>) - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns the maximum element, or null if empty
- max() - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns the maximum element, or null if empty
assuming that all elements are Comparables
- max(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns the maximum element, or -Double.MAX_VALUE if empty
- max() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns the maximum element, or -Double.MAX_VALUE if empty
- max() - Method in interface jsr166y.forkjoin.ParallelDoubleArray.SummaryStatistics
-
Return the maximum element, or -Double.MAX_VALUE if empty
- max() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns the maximum element, or -Double.MAX_VALUE if empty
- max(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns the maximum element, or -Double.MAX_VALUE if empty
- max() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns the maximum element, or Long.MIN_VALUE if empty
- max(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns the maximum element, or Long.MIN_VALUE if empty
- max(Comparator<? super U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns the maximum mapped element, or null if empty
- max() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns the maximum mapped element, or null if empty
assuming that all elements are Comparables
- max(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns the maximum element, or Long.MIN_VALUE if empty
- max() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns the maximum element, or Long.MIN_VALUE if empty
- max() - Method in interface jsr166y.forkjoin.ParallelLongArray.SummaryStatistics
-
Return the maximum element, or Long.MIN_VALUE if empty
- max() - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns the maximum element, or -Double.MAX_VALUE if empty
- max(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns the maximum element, or -Double.MAX_VALUE if empty
- max() - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns the maximum element, or Long.MIN_VALUE if empty
- max(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns the maximum element, or Long.MIN_VALUE if empty
- max(Comparator<? super U>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns the maximum mapped element, or null if empty
- max() - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns the maximum mapped element, or null if empty
assuming that all elements are Comparables
- maxReducer(Comparator<? super T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a reducer returning the maximum of two elements, using
the given comparator, and treating null as less than any
non-null element.
- min(Comparator<? super T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns the minimum element, or null if empty
- min() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns the minimum element, or null if empty,
assuming that all elements are Comparables
- min() - Method in interface jsr166y.forkjoin.ParallelArray.SummaryStatistics
-
Return the minimum element, or null if empty
- min() - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns the minimum element, or Double.MAX_VALUE if empty
- min(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns the minimum element, or Double.MAX_VALUE if empty
- min(Comparator<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
- min() - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
- min() - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns the minimum element, or Long.MAX_VALUE if empty
- min(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns the minimum element, or Long.MAX_VALUE if empty
- min(Comparator<? super U>) - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns the minimum element, or null if empty
- min() - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns the minimum element, or null if empty,
assuming that all elements are Comparables
- min(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns the minimum element, or Double.MAX_VALUE if empty
- min() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns the minimum element, or Double.MAX_VALUE if empty,
- min() - Method in interface jsr166y.forkjoin.ParallelDoubleArray.SummaryStatistics
-
Return the minimum element, or Double.MAX_VALUE if empty
- min() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns the minimum element, or Double.MAX_VALUE if empty
- min(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns the minimum element, or Double.MAX_VALUE if empty
- min() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns the minimum element, or Long.MAX_VALUE if empty
- min(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns the minimum element, or Long.MAX_VALUE if empty
- min(Comparator<? super U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns the minimum mapped element, or null if empty
- min() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns the minimum mapped element, or null if empty,
assuming that all elements are Comparables
- min(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns the minimum element, or Long.MAX_VALUE if empty
- min() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns the minimum element, or Long.MAX_VALUE if empty,
- min() - Method in interface jsr166y.forkjoin.ParallelLongArray.SummaryStatistics
-
Return the minimum element, or Long.MAX_VALUE if empty
- min() - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns the minimum element, or Double.MAX_VALUE if empty
- min(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns the minimum element, or Double.MAX_VALUE if empty
- min() - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns the minimum element, or Long.MAX_VALUE if empty
- min(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns the minimum element, or Long.MAX_VALUE if empty
- min(Comparator<? super U>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns the minimum mapped element, or null if empty
- min() - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns the minimum mapped element, or null if empty,
assuming that all elements are Comparables
- minReducer(Comparator<? super T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a reducer returning the minimum of two elements, using
the given comparator, and treating null as greater than any
non-null element.
- naturalComparator(Class<T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a Comparator for Comparable objects
- naturalDoubleComparator() - Static method in class jsr166y.forkjoin.Ops
-
Returns a comparator for doubles relying on natural ordering
- naturalDoubleMaxReducer() - Static method in class jsr166y.forkjoin.Ops
-
Returns a reducer returning the maximum of two double elements,
using natural comparator
- naturalDoubleMinReducer() - Static method in class jsr166y.forkjoin.Ops
-
Returns a reducer returning the minimum of two double elements,
using natural comparator
- naturalLongComparator() - Static method in class jsr166y.forkjoin.Ops
-
Returns a comparator for longs relying on natural ordering
- naturalLongMaxReducer() - Static method in class jsr166y.forkjoin.Ops
-
Returns a reducer returning the maximum of two long elements,
using natural comparator
- naturalLongMinReducer() - Static method in class jsr166y.forkjoin.Ops
-
A reducer returning the minimum of two long elements,
using natural comparator
- naturalMaxReducer(Class<T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a reducer returning the maximum of two Comparable
elements, treating null as less than any non-null element.
- naturalMinReducer(Class<T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a reducer returning the minimum of two Comparable
elements, treating null as greater than any non-null element.
- newThread(ForkJoinPool) - Method in class jsr166y.forkjoin.ForkJoinPool.DefaultForkJoinWorkerThreadFactory
-
- newThread(ForkJoinPool) - Method in interface jsr166y.forkjoin.ForkJoinPool.ForkJoinWorkerThreadFactory
-
Returns a new worker thread operating in the given pool.
- nextRandomDouble() - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Returns a random double using a per-worker random
number generator with the same properties as
Random.nextDouble()
- nextRandomInt() - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Returns a random integer using a per-worker random
number generator with the same properties as
Random.nextInt()
- nextRandomInt(int) - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Returns a random integer using a per-worker random
number generator with the same properties as
Random.nextInt(int)
- nextRandomLong() - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Returns a random long using a per-worker random
number generator with the same properties as
Random.nextLong()
- nextRandomLong(long) - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Returns a random integer using a per-worker random
number generator with the same properties as
Random.nextInt(int)
- notPredicate(Ops.Predicate<T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to the negation of its contained predicate
- notPredicate(Ops.DoublePredicate) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to the negation of its contained predicate
- notPredicate(Ops.LongPredicate) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to the negation of its contained predicate
- offer(E, long, TimeUnit) - Method in class jsr166y.LinkedTransferQueue
-
- offer(E) - Method in class jsr166y.LinkedTransferQueue
-
- onCompletion() - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Overridable callback action triggered by finish.
- onException() - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Overridable callback action triggered by
finishExceptionally.
- onStart() - Method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Initializes internal state after construction but before
processing any tasks.
- onTermination(Throwable) - Method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Perform cleanup associated with termination of this worker
thread.
- Ops - Class in jsr166y.forkjoin
-
Interfaces and utilities describing per-element operations used
within parallel methods on aggregates.
- Ops.Combiner<T,U,V> - Interface in jsr166y.forkjoin
-
An object with a function accepting pairs of objects, one of
type T and one of type U, returning those of type V
- Ops.DoubleComparator - Interface in jsr166y.forkjoin
-
A Comparator for doubles
- Ops.DoubleGenerator - Interface in jsr166y.forkjoin
-
A generator of doubles
- Ops.DoubleMapper - Interface in jsr166y.forkjoin
-
A mapper accepting a double argument and returning a double
- Ops.DoublePredicate - Interface in jsr166y.forkjoin
-
A predicate accepting a double argument
- Ops.DoubleProcedure - Interface in jsr166y.forkjoin
-
A procedure accepting a double
- Ops.DoubleReducer - Interface in jsr166y.forkjoin
-
A reducer accepting and returning doubles
- Ops.DoubleRelationalPredicate - Interface in jsr166y.forkjoin
-
A relationalPredicate accepting double arguments
- Ops.Generator<T> - Interface in jsr166y.forkjoin
-
A generator (builder) of objects of type T that takes no
arguments.
- Ops.IntComparator - Interface in jsr166y.forkjoin
-
A Comparator for ints
- Ops.IntGenerator - Interface in jsr166y.forkjoin
-
A generator of ints
- Ops.IntMapper - Interface in jsr166y.forkjoin
-
A map accepting an int and returning an int
- Ops.IntPredicate - Interface in jsr166y.forkjoin
-
A predicate accepting an int
- Ops.IntProcedure - Interface in jsr166y.forkjoin
-
A procedure accepting an int
- Ops.IntReducer - Interface in jsr166y.forkjoin
-
A reducer accepting and returning ints
- Ops.IntRelationalPredicate - Interface in jsr166y.forkjoin
-
A relationalPredicate accepting int arguments
- Ops.LongComparator - Interface in jsr166y.forkjoin
-
A Comparator for longs
- Ops.LongGenerator - Interface in jsr166y.forkjoin
-
A generator of longs
- Ops.LongMapper - Interface in jsr166y.forkjoin
-
A mapper accepting a long argument and returning a long
- Ops.LongPredicate - Interface in jsr166y.forkjoin
-
A predicate accepting a long argument
- Ops.LongProcedure - Interface in jsr166y.forkjoin
-
A procedure accepting a long
- Ops.LongReducer - Interface in jsr166y.forkjoin
-
A reducer accepting and returning longs
- Ops.LongRelationalPredicate - Interface in jsr166y.forkjoin
-
A relationalPredicate accepting long arguments
- Ops.Mapper<T,U> - Interface in jsr166y.forkjoin
-
An object with a function accepting objects of type T and
returning those of type U
- Ops.MapperFromDouble<T> - Interface in jsr166y.forkjoin
-
A mapper accepting a double
- Ops.MapperFromDoubleToInt - Interface in jsr166y.forkjoin
-
A mapper accepting a double argument and returning an int
- Ops.MapperFromDoubleToLong - Interface in jsr166y.forkjoin
-
A mapper accepting a double argument and returning a long
- Ops.MapperFromInt<T> - Interface in jsr166y.forkjoin
-
A mapper accepting an int
- Ops.MapperFromIntToDouble - Interface in jsr166y.forkjoin
-
A mapper accepting an int argument and returning a double
- Ops.MapperFromIntToLong - Interface in jsr166y.forkjoin
-
A mapper accepting an int argument and returning a long
- Ops.MapperFromLong<T> - Interface in jsr166y.forkjoin
-
A mapper accepting a long argument
- Ops.MapperFromLongToDouble - Interface in jsr166y.forkjoin
-
A mapper accepting a long argument and returning a double
- Ops.MapperFromLongToInt - Interface in jsr166y.forkjoin
-
A mapper accepting a long argument and returning an int
- Ops.MapperToDouble<T> - Interface in jsr166y.forkjoin
-
A mapper returning a double
- Ops.MapperToInt<T> - Interface in jsr166y.forkjoin
-
A mapper returning an int
- Ops.MapperToLong<T> - Interface in jsr166y.forkjoin
-
A mapper returning a long
- Ops.Predicate<T> - Interface in jsr166y.forkjoin
-
An object with boolean method of one argument
- Ops.Procedure<T> - Interface in jsr166y.forkjoin
-
An object with a method of one argument that does not return a
result.
- Ops.Reducer<T> - Interface in jsr166y.forkjoin
-
A specialized combiner that is associative and accepts pairs of
objects of the same type and returning one of the same
type.
- Ops.RelationalPredicate<T,U> - Interface in jsr166y.forkjoin
-
An object with boolean method of two arguments
- orFilter(Ops.Predicate<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- orFilter(Ops.Predicate<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Returns an operation prefix that causes a method to operate
only on elements for which the current selector (if
present) or the given selector returns true
- orFilter(Ops.DoublePredicate) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
- orFilter(Ops.DoublePredicate) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Returns an operation prefix that causes a method to operate
only on elements for which the current selector (if
present) or the given selector returns true
- orFilter(Ops.LongPredicate) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
- orFilter(Ops.LongPredicate) - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Returns an operation prefix that causes a method to operate
only on elements for which the current selector (if
present) or the given selector returns true
- orPredicate(Ops.Predicate<S>, Ops.Predicate<? super T>) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to the disjuntion of its contained predicates
- orPredicate(Ops.DoublePredicate, Ops.DoublePredicate) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to the disjuntion of its contained predicates
- orPredicate(Ops.LongPredicate, Ops.LongPredicate) - Static method in class jsr166y.forkjoin.Ops
-
Returns a predicate evaluating to the disjuntion of its contained predicates
- ParallelArray<T> - Class in jsr166y.forkjoin
-
An array supporting parallel operations.
- ParallelArray(ForkJoinExecutor, T[], int) - Constructor for class jsr166y.forkjoin.ParallelArray
-
Constructor for use by subclasses to create a new ParallelArray
using the given executor, and initially using the supplied
array, with effective size bound by the given limit.
- ParallelArray.SummaryStatistics<T> - Interface in jsr166y.forkjoin
-
Summary statistics for a possibly bounded, filtered, and/or
mapped ParallelArray.
- ParallelArray.WithBounds<T> - Class in jsr166y.forkjoin
-
A restriction of parallel array operations to apply only within
a given range of indices.
- ParallelArray.WithDoubleMapping<T> - Class in jsr166y.forkjoin
-
A modifier for parallel array operations to apply to mappings
of elements to doubles, not to the elements themselves
- ParallelArray.WithFilter<T> - Class in jsr166y.forkjoin
-
A restriction of parallel array operations to apply only to
elements for which a selector returns true
- ParallelArray.WithLongMapping<T> - Class in jsr166y.forkjoin
-
A modifier for parallel array operations to apply to mappings
of elements to longs, not to the elements themselves
- ParallelArray.WithMapping<T,U> - Class in jsr166y.forkjoin
-
A modifier for parallel array operations to apply to mappings
of elements, not to the elements themselves
- ParallelDoubleArray - Class in jsr166y.forkjoin
-
An array of doubles supporting parallel operations.
- ParallelDoubleArray(ForkJoinExecutor, double[], int) - Constructor for class jsr166y.forkjoin.ParallelDoubleArray
-
Constructor for use by subclasses to create a new ParallelDoubleArray
using the given executor, and initially using the supplied
array, with effective size bound by the given limit.
- ParallelDoubleArray.SummaryStatistics - Interface in jsr166y.forkjoin
-
Summary statistics for a possibly bounded, filtered, and/or
mapped ParallelDoubleArray.
- ParallelDoubleArray.WithBounds - Class in jsr166y.forkjoin
-
A restriction of parallel array operations to apply only within
a given range of indices.
- ParallelDoubleArray.WithDoubleMapping - Class in jsr166y.forkjoin
-
A modifier for parallel array operations to apply to mappings
of elements to doubles, not to the elements themselves
- ParallelDoubleArray.WithFilter - Class in jsr166y.forkjoin
-
A restriction of parallel array operations to apply only to
elements for which a selector returns true
- ParallelDoubleArray.WithLongMapping - Class in jsr166y.forkjoin
-
A modifier for parallel array operations to apply to mappings
of elements to longs, not to the elements themselves
- ParallelDoubleArray.WithMapping<U> - Class in jsr166y.forkjoin
-
A modifier for parallel array operations to apply to mappings
of elements, not to the elements themselves
- ParallelLongArray - Class in jsr166y.forkjoin
-
An array of longs supporting parallel operations.
- ParallelLongArray(ForkJoinExecutor, long[], int) - Constructor for class jsr166y.forkjoin.ParallelLongArray
-
Constructor for use by subclasses to create a new ParallelLongArray
using the given executor, and initially using the supplied
array, with effective size bound by the given limit.
- ParallelLongArray.SummaryStatistics - Interface in jsr166y.forkjoin
-
Summary statistics for a possibly bounded, filtered, and/or
mapped ParallelLongArray.
- ParallelLongArray.WithBounds - Class in jsr166y.forkjoin
-
A restriction of parallel array operations to apply only within
a given range of indices.
- ParallelLongArray.WithDoubleMapping - Class in jsr166y.forkjoin
-
A modifier for parallel array operations to apply to mappings
of elements to doubles, not to the elements themselves
- ParallelLongArray.WithFilter - Class in jsr166y.forkjoin
-
A restriction of parallel array operations to apply only to
elements for which a selector returns true
- ParallelLongArray.WithLongMapping - Class in jsr166y.forkjoin
-
A modifier for parallel array operations to apply to mappings
of elements to longs, not to the elements themselves
- ParallelLongArray.WithMapping<U> - Class in jsr166y.forkjoin
-
A modifier for parallel array operations to apply to mappings
of elements, not to the elements themselves
- peek() - Method in class jsr166y.LinkedTransferQueue
-
- peekLocalTask() - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Returns, but does not remove or execute, the next task locally
queued for execution by the current worker thread.
- poll(long, TimeUnit) - Method in class jsr166y.LinkedTransferQueue
-
- poll() - Method in class jsr166y.LinkedTransferQueue
-
- pollLocalTask() - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Removes and returns, without executing, the next task queued
for execution in the current worker thread's local queue.
- pollTask() - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Removes and returns, without executing, the next task available
for execution by the current worker thread, which may be a
locally queued task, one stolen from another worker, or a pool
submission.
- precumulate(Ops.Reducer<T>, T) - Method in class jsr166y.forkjoin.ParallelArray
-
Replaces each element with the cumulation of applying the given
reducer to all previous values, and returns the total
reduction.
- precumulate(Ops.Reducer<T>, T) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Replaces each element with the cumulation of applying the given
reducer to all previous values, and returns the total
reduction.
- precumulate(Ops.DoubleReducer, double) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces each element with the cumulation of applying the given
reducer to all previous values, and returns the total
reduction.
- precumulate(Ops.DoubleReducer, double) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Replaces each element with the cumulation of applying the given
reducer to all previous values, and returns the total
reduction.
- precumulate(Ops.LongReducer, long) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces each element with the cumulation of applying the given
reducer to all previous values, and returns the total
reduction.
- precumulate(Ops.LongReducer, long) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Replaces each element with the cumulation of applying the given
reducer to all previous values, and returns the total
reduction.
- precumulateSum() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces each element with its prefix sum
- precumulateSum() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Replaces each element with its prefix sum
- precumulateSum() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces each element with its prefix sum
- precumulateSum() - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Replaces each element with its prefix sum
- put(E) - Method in class jsr166y.LinkedTransferQueue
-
- rawResult() - Method in class jsr166y.forkjoin.AsyncAction
-
Always returns null.
- rawResult() - Method in class jsr166y.forkjoin.CyclicAction
-
Always returns null.
- rawResult() - Method in class jsr166y.forkjoin.ForkJoinTask
-
Returns the result that would be returned by join, or
null if this task is not known to have been completed.
- rawResult() - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Always returns null.
- rawResult() - Method in class jsr166y.forkjoin.RecursiveAction
-
Always returns null.
- rawResult() - Method in class jsr166y.forkjoin.RecursiveTask
-
- RecursiveAction - Class in jsr166y.forkjoin
-
Recursive resultless ForkJoinTasks.
- RecursiveAction() - Constructor for class jsr166y.forkjoin.RecursiveAction
-
- RecursiveTask<V> - Class in jsr166y.forkjoin
-
Recursive result-bearing ForkJoinTasks.
- RecursiveTask() - Constructor for class jsr166y.forkjoin.RecursiveTask
-
- reduce(Ops.Reducer<T>, T) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns reduction of elements
- reduce(Ops.DoubleReducer, double) - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns reduction of mapped elements
- reduce(Ops.Reducer<T>, T) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
- reduce(Ops.LongReducer, long) - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns reduction of mapped elements
- reduce(Ops.Reducer<U>, U) - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns reduction of elements
- reduce(Ops.DoubleReducer, double) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns reduction of elements
- reduce(Ops.DoubleReducer, double) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns reduction of elements
- reduce(Ops.LongReducer, long) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns reduction of mapped elements
- reduce(Ops.Reducer<U>, U) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns reduction of mapped elements
- reduce(Ops.LongReducer, long) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns reduction of elements
- reduce(Ops.DoubleReducer, double) - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns reduction of mapped elements
- reduce(Ops.LongReducer, long) - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns reduction of elements
- reduce(Ops.Reducer<U>, U) - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns reduction of mapped elements
- register() - Method in class jsr166y.forkjoin.TaskBarrier
-
Adds a new active party to the barrier.
- reinitialize() - Method in class jsr166y.forkjoin.ForkJoinTask
-
Resets the internal bookkeeping state of this task, allowing a
subsequent fork.
- reinitialize() - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Resets the internal bookkeeping state of this task, maintaining
the current parent but clearing pending joins.
- reinitialize(int) - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Resets the internal bookkeeping state of this task, maintaining
the current parent and setting pending joins to the given value.
- reinitialize(LinkedAsyncAction, boolean) - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Reinitialize with the given parent, optionally registering.
- reinitialize(LinkedAsyncAction, boolean, int) - Method in class jsr166y.forkjoin.LinkedAsyncAction
-
Reinitialize with the given parent, optionally registering
and setting pending join count.
- reinitialize() - Method in class jsr166y.forkjoin.RecursiveTask
-
- remainingCapacity() - Method in class jsr166y.LinkedTransferQueue
-
- removeAll() - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- removeAll() - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Removes from the array all elements matching bound and/or
filter constraints.
- removeAll() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
- removeAll() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Removes from the array all elements matching bound and/or
filter constraints.
- removeAll() - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
- removeAll() - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Removes from the array all elements matching bound and/or
filter constraints.
- removeConsecutiveDuplicates() - Method in class jsr166y.forkjoin.ParallelArray
-
Removes consecutive elements that are equal (or null), shifting
others leftward, and possibly decreasing size.
- removeConsecutiveDuplicates() - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Removes consecutive elements that are equal (or null),
shifting others leftward, and possibly decreasing size.
- removeConsecutiveDuplicates() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Removes consecutive elements that are equal,
shifting others leftward, and possibly decreasing size.
- removeConsecutiveDuplicates() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Removes consecutive elements that are equal (or null),
shifting others leftward, and possibly decreasing size.
- removeConsecutiveDuplicates() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Removes consecutive elements that are equal,
shifting others leftward, and possibly decreasing size.
- removeConsecutiveDuplicates() - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Removes consecutive elements that are equal (or null),
shifting others leftward, and possibly decreasing size.
- removeIfNextLocalTask(ForkJoinTask<?>) - Static method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
Removes and returns, without executing, the given task from the
queue hosting current execution only if it would be the next
task executed by the current worker.
- removeNulls() - Method in class jsr166y.forkjoin.ParallelArray
-
Removes null elements, shifting others leftward, and possibly
decreasing size.
- removeNulls() - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Removes null elements, shifting others leftward, and possibly
decreasing size.
- removeWorkers(int) - Method in class jsr166y.forkjoin.ForkJoinPool
-
Tries to remove the indicated number of worker threads from the
pool.
- replaceWithCombination(ParallelArray<? extends T>, Ops.Reducer<T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(T[], Ops.Reducer<T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelArray.WithBounds<? extends T>, Ops.Reducer<T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelArray<? extends T>, Ops.Reducer<T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelArray.WithBounds<? extends T>, Ops.Reducer<T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(T[], Ops.Reducer<T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelDoubleArray, Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(double[], Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelDoubleArray.WithBounds, Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelDoubleArray, Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelDoubleArray.WithBounds, Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(double[], Ops.DoubleReducer) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelLongArray, Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(long[], Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelLongArray.WithBounds, Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelLongArray, Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(ParallelLongArray.WithBounds, Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithCombination(long[], Ops.LongReducer) - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Replaces elements with results of applying
combine(thisElement, otherElement)
- replaceWithGeneratedValue(Ops.Generator<? extends T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Replaces elements with the results of applying the given
generator.
- replaceWithGeneratedValue(Ops.Generator<? extends T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Replaces elements with results of applying the given
generator.
- replaceWithGeneratedValue(Ops.DoubleGenerator) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces elements with the results of applying the given
generator.
- replaceWithGeneratedValue(Ops.DoubleGenerator) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Replaces elements with results of applying the given
generator.
- replaceWithGeneratedValue(Ops.LongGenerator) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces elements with the results of applying the given
generator.
- replaceWithGeneratedValue(Ops.LongGenerator) - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Replaces elements with results of applying the given
generator.
- replaceWithMappedIndex(Ops.MapperFromInt<? extends T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Replaces elements with the results of applying the given
mapper to their indices.
- replaceWithMappedIndex(Ops.MapperFromInt<? extends T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Replaces elements with the results of applying the given
mapper to their indices
- replaceWithMappedIndex(Ops.MapperFromIntToDouble) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces elements with the results of applying the given
mapper to their indices.
- replaceWithMappedIndex(Ops.MapperFromIntToDouble) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Replaces elements with the results of applying the given
mapper to their indices
- replaceWithMappedIndex(Ops.MapperFromIntToLong) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces elements with the results of applying the given
mapper to their indices.
- replaceWithMappedIndex(Ops.MapperFromIntToLong) - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Replaces elements with the results of applying the given
mapper to their indices
- replaceWithTransform(Ops.Mapper<? super T, ? extends T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Replaces elements with the results of applying the given mapper
to their current values.
- replaceWithTransform(Ops.Mapper<? super T, ? extends T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Replaces elements with the results of applying the given
mapper to their current values.
- replaceWithTransform(Ops.DoubleMapper) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces elements with the results of applying the given mapper
to their current values.
- replaceWithTransform(Ops.DoubleMapper) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Replaces elements with the results of applying the given
mapper to their current values.
- replaceWithTransform(Ops.LongMapper) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces elements with the results of applying the given mapper
to their current values.
- replaceWithTransform(Ops.LongMapper) - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Replaces elements with the results of applying the given
mapper to their current values.
- replaceWithValue(T) - Method in class jsr166y.forkjoin.ParallelArray
-
Replaces elements with the given value.
- replaceWithValue(T) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Replaces elements with the given value.
- replaceWithValue(double) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Replaces elements with the given value.
- replaceWithValue(double) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Replaces elements with the given value.
- replaceWithValue(long) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Replaces elements with the given value.
- replaceWithValue(long) - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Replaces elements with the given value.
- run() - Method in class jsr166y.forkjoin.ForkJoinWorkerThread
-
This method is required to be public, but should never be
called explicitly.
- set(int, T) - Method in class jsr166y.forkjoin.ParallelArray
-
Sets the element of the array at the given index to the given value
- set(int, double) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Sets the element of the array at the given index to the given value
- set(int, long) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Sets the element of the array at the given index to the given value
- setLimit(int) - Method in class jsr166y.forkjoin.ParallelArray
-
Ensures that the underlying array can be accessed up to the
given upper bound, reallocating and copying the underlying
array to expand if necessary.
- setLimit(int) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Ensures that the underlying array can be accessed up to the
given upper bound, reallocating and copying the underlying
array to expand if necessary.
- setLimit(int) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Ensures that the underlying array can be accessed up to the
given upper bound, reallocating and copying the underlying
array to expand if necessary.
- setPoolSize(int) - Method in class jsr166y.forkjoin.ForkJoinPool
-
Tries to add or remove workers to attain the given pool size.
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class jsr166y.forkjoin.ForkJoinPool
-
Sets the handler for internal worker threads that terminate due
to unrecoverable errors encountered while executing tasks.
- shutdown() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Initiates an orderly shutdown in which previously submitted
tasks are executed, but no new tasks will be accepted.
- shutdownNow() - Method in class jsr166y.forkjoin.ForkJoinPool
-
Attempts to stop all actively executing tasks, and cancels all
waiting tasks.
- size() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns the effective size of the underlying array.
- size() - Method in interface jsr166y.forkjoin.ParallelArray.SummaryStatistics
-
Return the number of elements
- size() - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- size() - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Return the number of elements selected using bound or
filter restrictions.
- size() - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Return the number of elements selected using bound or
filter restrictions.
- size() - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Return the number of elements selected using bound or
filter restrictions.
- size() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns the effective size of the underlying array.
- size() - Method in interface jsr166y.forkjoin.ParallelDoubleArray.SummaryStatistics
-
Return the number of elements
- size() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Returns the number of elements within bounds
- size() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Return the number of elements selected using bound or
filter restrictions.
- size() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Return the number of elements selected using bound or
filter restrictions.
- size() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Return the number of elements selected using bound or
filter restrictions.
- size() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns the effective size of the underlying array.
- size() - Method in interface jsr166y.forkjoin.ParallelLongArray.SummaryStatistics
-
Return the number of elements
- size() - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
- size() - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Return the number of elements selected using bound or
filter restrictions.
- size() - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Return the number of elements selected using bound or
filter restrictions.
- size() - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Return the number of elements selected using bound or
filter restrictions.
- size() - Method in class jsr166y.LinkedTransferQueue
-
Returns the number of elements in this queue.
- sort(Comparator<? super T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Sorts the array.
- sort() - Method in class jsr166y.forkjoin.ParallelArray
-
Sorts the array, assuming all elements are Comparable.
- sort(Comparator<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Sorts the elements.
- sort() - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Sorts the elements, assuming all elements are
Comparable.
- sort(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Sorts the array.
- sort() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Sorts the array, assuming all elements are Comparable.
- sort(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Sorts the elements.
- sort() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Sorts the elements, assuming all elements are
Comparable.
- sort(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Sorts the array.
- sort() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Sorts the array, assuming all elements are Comparable.
- sort(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Sorts the elements.
- sort() - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Sorts the elements, assuming all elements are
Comparable.
- submit(ForkJoinTask<T>) - Method in interface jsr166y.forkjoin.ForkJoinExecutor
-
Arranges for (asynchronous) execution of the given task,
returning a Future that may be used to obtain results
upon completion.
- submit(ForkJoinTask<T>) - Method in class jsr166y.forkjoin.ForkJoinPool
-
Arranges for (asynchronous) execution of the given task,
returning a Future that may be used to obtain results
upon completion.
- sum() - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns the sum of elements
- sum() - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns the sum of elements
- sum() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns the sum of elements
- sum() - Method in interface jsr166y.forkjoin.ParallelDoubleArray.SummaryStatistics
-
Return the sum of all elements
- sum() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns the sum of elements
- sum() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns the sum of elements
- sum() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns the sum of elements
- sum() - Method in interface jsr166y.forkjoin.ParallelLongArray.SummaryStatistics
-
Return the sum of all elements
- sum() - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns the sum of elements
- sum() - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns the sum of elements
- summary(Comparator<? super T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns summary statistics, using the given comparator
to locate minimum and maximum elements.
- summary() - Method in class jsr166y.forkjoin.ParallelArray
-
Returns summary statistics, assuming that all elements are
Comparables
- summary(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns summary statistics
- summary() - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns summary statistics, using natural comparator
- summary(Comparator<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
- summary() - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
- summary(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns summary statistics
- summary() - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns summary statistics, using natural comparator
- summary(Comparator<? super U>) - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns summary statistics, using the given comparator
to locate minimum and maximum elements.
- summary() - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns summary statistics, assuming that all elements are
Comparables
- summary(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns summary statistics, using the given comparator
to locate minimum and maximum elements.
- summary() - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns summary statistics, using natural comparator
- summary(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns summary statistics
- summary() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns summary statistics, using natural comparator
- summary(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns summary statistics
- summary() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns summary statistics, using natural comparator
- summary(Comparator<? super U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns summary statistics, using the given comparator
to locate minimum and maximum elements.
- summary() - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns summary statistics, assuming that all elements are
Comparables
- summary(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns summary statistics, using the given comparator
to locate minimum and maximum elements.
- summary() - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns summary statistics, using natural comparator
- summary(Ops.DoubleComparator) - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns summary statistics
- summary() - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns summary statistics, using natural comparator
- summary(Ops.LongComparator) - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns summary statistics
- summary() - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns summary statistics, using natural comparator
- summary(Comparator<? super U>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns summary statistics, using the given comparator
to locate minimum and maximum elements.
- summary() - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns summary statistics, assuming that all elements are
Comparables
- withBounds(int, int) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns an operation prefix that causes a method to
operate only on the elements of the array between
firstIndex (inclusive) and upperBound (exclusive).
- withBounds(int, int) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
Returns an operation prefix that causes a method to operate
only on the elements of the array between firstIndex
(inclusive) and upperBound (exclusive).
- withBounds(int, int) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns an operation prefix that causes a method to
operate only on the elements of the array between
firstIndex (inclusive) and upperBound (exclusive).
- withBounds(int, int) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Returns an operation prefix that causes a method to operate
only on the elements of the array between firstIndex
(inclusive) and upperBound (exclusive).
- withBounds(int, int) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns an operation prefix that causes a method to
operate only on the elements of the array between
firstIndex (inclusive) and upperBound (exclusive).
- withBounds(int, int) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
Returns an operation prefix that causes a method to operate
only on the elements of the array between firstIndex
(inclusive) and upperBound (exclusive).
- withFilter(Ops.Predicate<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- withFilter(Ops.Predicate<? super T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns an operation prefix that causes a method to operate
only on the elements of the array for which the given selector
returns true
- withFilter(Ops.Predicate<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithFilter
-
Returns an operation prefix that causes a method to operate
only on elements for which the current selector (if
present) and the given selector returns true
- withFilter(Ops.DoublePredicate) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Returns an operation prefix that causes a method to operate
only on the elements of the array for which the given selector
returns true
- withFilter(Ops.DoublePredicate) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns an operation prefix that causes a method to operate
only on the elements of the array for which the given selector
returns true
- withFilter(Ops.DoublePredicate) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithFilter
-
Returns an operation prefix that causes a method to operate
only on elements for which the current selector (if
present) and the given selector returns true
- withFilter(Ops.LongPredicate) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
- withFilter(Ops.LongPredicate) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns an operation prefix that causes a method to operate
only on the elements of the array for which the given selector
returns true
- withFilter(Ops.LongPredicate) - Method in class jsr166y.forkjoin.ParallelLongArray.WithFilter
-
Returns an operation prefix that causes a method to operate
only on elements for which the current selector (if
present) and the given selector returns true
- withMapping(Ops.Mapper<? super T, ? extends U>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- withMapping(Ops.MapperToDouble<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- withMapping(Ops.MapperToLong<? super T>) - Method in class jsr166y.forkjoin.ParallelArray.WithBounds
-
- withMapping(Ops.DoubleMapper) - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromDoubleToLong) - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromDouble<? extends U>) - Method in class jsr166y.forkjoin.ParallelArray.WithDoubleMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromLongToDouble) - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.LongMapper) - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromLong<? extends U>) - Method in class jsr166y.forkjoin.ParallelArray.WithLongMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.Mapper<? super T, ? extends U>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperToDouble<? super T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperToLong<? super T>) - Method in class jsr166y.forkjoin.ParallelArray
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.Mapper<? super U, ? extends V>) - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper
applied to current mapper's results
- withMapping(Ops.MapperToDouble<? super U>) - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper
applied to current mapper's results
- withMapping(Ops.MapperToLong<? super U>) - Method in class jsr166y.forkjoin.ParallelArray.WithMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper
applied to current mapper's results
- withMapping(Ops.MapperFromDouble<? extends U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.DoubleMapper) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromDoubleToLong) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithBounds
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.DoubleMapper) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromDoubleToLong) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromDouble<? extends U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithDoubleMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromLongToDouble) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.LongMapper) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromLong<? extends U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithLongMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromDouble<? extends U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.DoubleMapper) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromDoubleToLong) - Method in class jsr166y.forkjoin.ParallelDoubleArray
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.Mapper<? super U, ? extends V>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper
applied to current mapper's results
- withMapping(Ops.MapperToDouble<? super U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper
applied to current mapper's results
- withMapping(Ops.MapperToLong<? super U>) - Method in class jsr166y.forkjoin.ParallelDoubleArray.WithMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper
applied to current mapper's results
- withMapping(Ops.MapperFromLong<? extends U>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
- withMapping(Ops.LongMapper) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
- withMapping(Ops.MapperFromLongToDouble) - Method in class jsr166y.forkjoin.ParallelLongArray.WithBounds
-
- withMapping(Ops.MapperFromDoubleToLong) - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.DoubleMapper) - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromDouble<? extends U>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithDoubleMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.LongMapper) - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromLongToDouble) - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromLong<? extends U>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithLongMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromLong<? extends U>) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.LongMapper) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.MapperFromLongToDouble) - Method in class jsr166y.forkjoin.ParallelLongArray
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper.
- withMapping(Ops.Mapper<? super U, ? extends V>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper
applied to current mapper's results
- withMapping(Ops.MapperToLong<? super U>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper
applied to current mapper's results
- withMapping(Ops.MapperToDouble<? super U>) - Method in class jsr166y.forkjoin.ParallelLongArray.WithMapping
-
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given mapper
applied to current mapper's results