- Random - Class in java.util
-
A compilation stub only.
- Random() - Constructor for class java.util.Random
-
- range(int, int) - Static method in class java8.util.stream.IntStreams
-
Returns a sequential ordered IntStream
from startInclusive
(inclusive) to endExclusive
(exclusive) by an incremental step of
1
.
- range(long, long) - Static method in class java8.util.stream.LongStreams
-
Returns a sequential ordered LongStream
from startInclusive
(inclusive) to endExclusive
(exclusive) by an incremental step of
1
.
- rangeClosed(int, int) - Static method in class java8.util.stream.IntStreams
-
Returns a sequential ordered IntStream
from startInclusive
(inclusive) to endInclusive
(inclusive) by an incremental step of
1
.
- rangeClosed(long, long) - Static method in class java8.util.stream.LongStreams
-
Returns a sequential ordered LongStream
from startInclusive
(inclusive) to endInclusive
(inclusive) by an incremental step of
1
.
- RecursiveAction - Class in java8.util.concurrent
-
- RecursiveAction() - Constructor for class java8.util.concurrent.RecursiveAction
-
- RecursiveTask<V> - Class in java8.util.concurrent
-
- RecursiveTask() - Constructor for class java8.util.concurrent.RecursiveTask
-
- reduce(double, DoubleBinaryOperator) - Method in interface java8.util.stream.DoubleStream
-
Performs a
reduction on the
elements of this stream, using the provided identity value and an
associative
accumulation function, and returns the reduced value.
- reduce(DoubleBinaryOperator) - Method in interface java8.util.stream.DoubleStream
-
Performs a
reduction on the
elements of this stream, using an
associative accumulation
function, and returns an
OptionalDouble
describing the reduced
value, if any.
- reduce(int, IntBinaryOperator) - Method in interface java8.util.stream.IntStream
-
Performs a
reduction on the
elements of this stream, using the provided identity value and an
associative
accumulation function, and returns the reduced value.
- reduce(IntBinaryOperator) - Method in interface java8.util.stream.IntStream
-
Performs a
reduction on the
elements of this stream, using an
associative accumulation
function, and returns an
OptionalInt
describing the reduced value,
if any.
- reduce(long, LongBinaryOperator) - Method in interface java8.util.stream.LongStream
-
Performs a
reduction on the
elements of this stream, using the provided identity value and an
associative
accumulation function, and returns the reduced value.
- reduce(LongBinaryOperator) - Method in interface java8.util.stream.LongStream
-
Performs a
reduction on the
elements of this stream, using an
associative accumulation
function, and returns an
OptionalLong
describing the reduced value,
if any.
- reduce(T, BinaryOperator<T>) - Method in interface java8.util.stream.Stream
-
Performs a
reduction on the
elements of this stream, using the provided identity value and an
associative
accumulation function, and returns the reduced value.
- reduce(BinaryOperator<T>) - Method in interface java8.util.stream.Stream
-
Performs a
reduction on the
elements of this stream, using an
associative accumulation
function, and returns an
Optional
describing the reduced value,
if any.
- reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in interface java8.util.stream.Stream
-
Performs a
reduction on the
elements of this stream, using the provided identity, accumulation and
combining functions.
- reducing(T, BinaryOperator<T>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
which performs a reduction of its
input elements under a specified BinaryOperator
using the
provided identity.
- reducing(BinaryOperator<T>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
which performs a reduction of its
input elements under a specified BinaryOperator
.
- reducing(U, Function<? super T, ? extends U>, BinaryOperator<U>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
which performs a reduction of its
input elements under a specified mapping function and
BinaryOperator
.
- register() - Method in class java8.util.concurrent.Phaser
-
Adds a new unarrived party to this phaser.
- reinitialize() - Method in class java8.util.concurrent.ForkJoinTask
-
Resets the internal bookkeeping state of this task, allowing a
subsequent fork
.
- remainderUnsigned(int, int) - Static method in class java8.lang.Integers
-
Returns the unsigned remainder from dividing the first argument
by the second where each argument and the result is interpreted
as an unsigned value.
- remainderUnsigned(long, long) - Static method in class java8.lang.Longs
-
Returns the unsigned remainder from dividing the first argument
by the second where each argument and the result is interpreted
as an unsigned value.
- remove(Map<K, V>, Object, Object) - Static method in class java8.util.Maps
-
Removes the entry for the specified key only if it is currently
mapped to the specified value.
- replace(Map<K, V>, K, V, V) - Static method in class java8.util.Maps
-
Replaces the entry for the specified key only if currently
mapped to the specified value.
- replace(Map<K, V>, K, V) - Static method in class java8.util.Maps
-
Replaces the entry for the specified key only if it is
currently mapped to some value.
- replaceAll(Map<K, V>, BiFunction<? super K, ? super V, ? extends V>) - Static method in class java8.util.Maps
-
Replaces each entry's value with the result of invoking the given
function on that entry until all entries have been processed or the
function throws an exception.
- replaceAllConcurrent(ConcurrentMap<K, V>, BiFunction<? super K, ? super V, ? extends V>) - Static method in class java8.util.Maps
-
Replaces each entry's value with the result of invoking the given
function on that entry until all entries have been processed or the
function throws an exception.
- requireNonNull(T) - Static method in class java8.util.Objects
-
Checks that the specified object reference is not null
.
- requireNonNull(T, String) - Static method in class java8.util.Objects
-
Checks that the specified object reference is not null
and
throws a customized NullPointerException
if it is.
- requireNonNull(T, Supplier<String>) - Static method in class java8.util.Objects
-
Checks that the specified object reference is not null
and
throws a customized NullPointerException
if it is.
- reset() - Method in class java8.util.concurrent.atomic.DoubleAccumulator
-
Resets variables maintaining updates to the identity value.
- reset() - Method in class java8.util.concurrent.atomic.DoubleAdder
-
Resets variables maintaining the sum to zero.
- reset() - Method in class java8.util.concurrent.atomic.LongAccumulator
-
Resets variables maintaining updates to the identity value.
- reset() - Method in class java8.util.concurrent.atomic.LongAdder
-
Resets variables maintaining the sum to zero.
- reversed(Comparator<T>) - Static method in class java8.util.Comparators
-
Returns a comparator that imposes the reverse ordering of the
passed comparator
.
- reverseOrder() - Static method in class java8.util.Comparators
-
Returns a comparator that imposes the reverse of the natural
ordering.
- run() - Method in class java8.util.concurrent.ForkJoinWorkerThread
-
This method is required to be public, but should never be
called explicitly.
- runAfterBoth(CompletionStage<?>, Runnable) - Method in class java8.util.concurrent.CompletableFuture
-
- runAfterBoth(CompletionStage<?>, Runnable) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this and the other
given stage both complete normally, executes the given action.
- runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class java8.util.concurrent.CompletableFuture
-
- runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class java8.util.concurrent.CompletableFuture
-
- runAfterBothAsync(CompletionStage<?>, Runnable) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this and the other
given stage complete normally, executes the given action using
this stage's default asynchronous execution facility.
- runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this and the other
given stage complete normally, executes the given action using
the supplied executor
See the
CompletionStage
documentation for rules
covering exceptional completion.
- runAfterEither(CompletionStage<?>, Runnable) - Method in class java8.util.concurrent.CompletableFuture
-
- runAfterEither(CompletionStage<?>, Runnable) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when either this or the
other given stage complete normally, executes the given action.
- runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class java8.util.concurrent.CompletableFuture
-
- runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class java8.util.concurrent.CompletableFuture
-
- runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when either this or the
other given stage complete normally, executes the given action
using this stage's default asynchronous execution facility.
- runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when either this or the
other given stage complete normally, executes the given action
using supplied executor.
- runAsync(Runnable) - Static method in class java8.util.concurrent.CompletableFuture
-
Returns a new CompletableFuture that is asynchronously completed
by a task running in the
ForkJoinPool.commonPool()
after
it runs the given action.
- runAsync(Runnable, Executor) - Static method in class java8.util.concurrent.CompletableFuture
-
Returns a new CompletableFuture that is asynchronously completed
by a task running in the given executor after it runs the given
action.