- parallel() - Method in interface java8.util.stream.BaseStream
-
Returns an equivalent stream that is parallel.
- parallel() - Method in interface java8.util.stream.DoubleStream
-
- parallel() - Method in interface java8.util.stream.IntStream
-
- parallel() - Method in interface java8.util.stream.LongStream
-
- parallelPrefix(T[], BinaryOperator<T>) - Static method in class java8.util.J8Arrays
-
Cumulates, in parallel, each element of the given array in place,
using the supplied function.
- parallelPrefix(T[], int, int, BinaryOperator<T>) - Static method in class java8.util.J8Arrays
-
- parallelPrefix(long[], LongBinaryOperator) - Static method in class java8.util.J8Arrays
-
Cumulates, in parallel, each element of the given array in place,
using the supplied function.
- parallelPrefix(long[], int, int, LongBinaryOperator) - Static method in class java8.util.J8Arrays
-
- parallelPrefix(double[], DoubleBinaryOperator) - Static method in class java8.util.J8Arrays
-
Cumulates, in parallel, each element of the given array in place,
using the supplied function.
- parallelPrefix(double[], int, int, DoubleBinaryOperator) - Static method in class java8.util.J8Arrays
-
- parallelPrefix(int[], IntBinaryOperator) - Static method in class java8.util.J8Arrays
-
Cumulates, in parallel, each element of the given array in place,
using the supplied function.
- parallelPrefix(int[], int, int, IntBinaryOperator) - Static method in class java8.util.J8Arrays
-
- parallelSetAll(T[], IntFunction<? extends T>) - Static method in class java8.util.J8Arrays
-
Set all elements of the specified array, in parallel, using the
provided generator function to compute each element.
- parallelSetAll(int[], IntUnaryOperator) - Static method in class java8.util.J8Arrays
-
Set all elements of the specified array, in parallel, using the
provided generator function to compute each element.
- parallelSetAll(long[], IntToLongFunction) - Static method in class java8.util.J8Arrays
-
Set all elements of the specified array, in parallel, using the
provided generator function to compute each element.
- parallelSetAll(double[], IntToDoubleFunction) - Static method in class java8.util.J8Arrays
-
Set all elements of the specified array, in parallel, using the
provided generator function to compute each element.
- parallelSort(byte[]) - Static method in class java8.util.J8Arrays
-
Sorts the specified array into ascending numerical order.
- parallelSort(byte[], int, int) - Static method in class java8.util.J8Arrays
-
Sorts the specified range of the array into ascending numerical order.
- parallelSort(char[]) - Static method in class java8.util.J8Arrays
-
Sorts the specified array into ascending numerical order.
- parallelSort(char[], int, int) - Static method in class java8.util.J8Arrays
-
Sorts the specified range of the array into ascending numerical order.
- parallelSort(short[]) - Static method in class java8.util.J8Arrays
-
Sorts the specified array into ascending numerical order.
- parallelSort(short[], int, int) - Static method in class java8.util.J8Arrays
-
Sorts the specified range of the array into ascending numerical order.
- parallelSort(int[]) - Static method in class java8.util.J8Arrays
-
Sorts the specified array into ascending numerical order.
- parallelSort(int[], int, int) - Static method in class java8.util.J8Arrays
-
Sorts the specified range of the array into ascending numerical order.
- parallelSort(long[]) - Static method in class java8.util.J8Arrays
-
Sorts the specified array into ascending numerical order.
- parallelSort(long[], int, int) - Static method in class java8.util.J8Arrays
-
Sorts the specified range of the array into ascending numerical order.
- parallelSort(float[]) - Static method in class java8.util.J8Arrays
-
Sorts the specified array into ascending numerical order.
- parallelSort(float[], int, int) - Static method in class java8.util.J8Arrays
-
Sorts the specified range of the array into ascending numerical order.
- parallelSort(double[]) - Static method in class java8.util.J8Arrays
-
Sorts the specified array into ascending numerical order.
- parallelSort(double[], int, int) - Static method in class java8.util.J8Arrays
-
Sorts the specified range of the array into ascending numerical order.
- parallelSort(T[]) - Static method in class java8.util.J8Arrays
-
Sorts the specified array of objects into ascending order, according
to the natural ordering of its elements.
- parallelSort(T[], int, int) - Static method in class java8.util.J8Arrays
-
Sorts the specified range of the specified array of objects into
ascending order, according to the
natural ordering of its
elements.
- parallelSort(T[], Comparator<? super T>) - Static method in class java8.util.J8Arrays
-
Sorts the specified array of objects according to the order induced by
the specified comparator.
- parallelSort(T[], int, int, Comparator<? super T>) - Static method in class java8.util.J8Arrays
-
Sorts the specified range of the specified array of objects according
to the order induced by the specified comparator.
- parallelStream(Collection<? extends T>) - Static method in class java8.util.stream.StreamSupport
-
Creates a new possibly parallel Stream
using either the given
collection's Collection.iterator()
as the source of
elements for an internally created Spliterator
which will report
the collection's Collection.size()
as its initial size
or a specialized Spliterator
implementation (effectively the same
one that Java 8 uses) if the passed Collection
is one of the
types listed below.
- partitioningBy(Predicate<? super T>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
which partitions the input elements according
to a Predicate
, and organizes them into a
Map<Boolean, List<T>>
.
- partitioningBy(Predicate<? super T>, Collector<? super T, A, D>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
which partitions the input elements according
to a Predicate
, reduces the values in each partition according to
another Collector
, and organizes them into a
Map<Boolean, D>
whose values are the result of the downstream
reduction.
- peek(DoubleConsumer) - Method in interface java8.util.stream.DoubleStream
-
Returns a stream consisting of the elements of this stream, additionally
performing the provided action on each element as elements are consumed
from the resulting stream.
- peek(IntConsumer) - Method in interface java8.util.stream.IntStream
-
Returns a stream consisting of the elements of this stream, additionally
performing the provided action on each element as elements are consumed
from the resulting stream.
- peek(LongConsumer) - Method in interface java8.util.stream.LongStream
-
Returns a stream consisting of the elements of this stream, additionally
performing the provided action on each element as elements are consumed
from the resulting stream.
- peek(Consumer<? super T>) - Method in interface java8.util.stream.Stream
-
Returns a stream consisting of the elements of this stream, additionally
performing the provided action on each element as elements are consumed
from the resulting stream.
- peekNextLocalTask() - Static method in class java8.util.concurrent.ForkJoinTask
-
Returns, but does not unschedule or execute, a task queued by
the current thread but not yet executed, if one is immediately
available.
- Phaser - Class in java8.util.concurrent
-
A reusable synchronization barrier, similar in functionality to
CyclicBarrier
and
CountDownLatch
but supporting more flexible usage.
- Phaser() - Constructor for class java8.util.concurrent.Phaser
-
Creates a new phaser with no initially registered parties, no
parent, and initial phase number 0.
- Phaser(int) - Constructor for class java8.util.concurrent.Phaser
-
Creates a new phaser with the given number of registered
unarrived parties, no parent, and initial phase number 0.
- Phaser(Phaser) - Constructor for class java8.util.concurrent.Phaser
-
- Phaser(Phaser, int) - Constructor for class java8.util.concurrent.Phaser
-
Creates a new phaser with the given parent and number of
registered unarrived parties.
- pollNextLocalTask() - Static method in class java8.util.concurrent.ForkJoinTask
-
Unschedules and returns, without executing, the next task
queued by the current thread but not yet executed, if the
current thread is operating in a ForkJoinPool.
- pollSubmission() - Method in class java8.util.concurrent.ForkJoinPool
-
Removes and returns the next unexecuted submission if one is
available.
- pollTask() - Static method in class java8.util.concurrent.ForkJoinTask
-
If the current thread is operating in a ForkJoinPool,
unschedules and returns, without executing, the next task
queued by the current thread but not yet executed, if one is
available, or if not available, a task that was forked by some
other thread, if available.
- Predicate<T> - Interface in java8.util.function
-
Represents a predicate (boolean-valued function) of one argument.
- Predicates - Class in java8.util.function
-
A place for static default implementations of the new Java 8
default interface methods and static interface methods in the
Predicate
interface.
- PrimitiveIterator<T,T_CONS> - Interface in java8.util
-
A base type for primitive specializations of Iterator
.
- PrimitiveIterator.OfDouble - Interface in java8.util
-
An Iterator specialized for double
values.
- PrimitiveIterator.OfInt - Interface in java8.util
-
An Iterator specialized for int
values.
- PrimitiveIterator.OfLong - Interface in java8.util
-
An Iterator specialized for long
values.
- propagateCompletion() - Method in class java8.util.concurrent.CountedCompleter
-
- putIfAbsent(Map<K, V>, K, V) - Static method in class java8.util.Maps
-
If the specified key is not already associated with a value (or is mapped
to null
) associates it with the given value and returns
null
, else returns the current value.