- test(T, U) - Method in interface java8.util.function.BiPredicate
-
Evaluates this predicate on the given arguments.
- test(double) - Method in interface java8.util.function.DoublePredicate
-
Evaluates this predicate on the given argument.
- test(int) - Method in interface java8.util.function.IntPredicate
-
Evaluates this predicate on the given argument.
- test(long) - Method in interface java8.util.function.LongPredicate
-
Evaluates this predicate on the given argument.
- test(T) - Method in interface java8.util.function.Predicate
-
Evaluates this predicate on the given argument.
- thenAccept(Consumer<? super T>) - Method in class java8.util.concurrent.CompletableFuture
-
- thenAccept(Consumer<? super T>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, is executed with this stage's result as the argument
to the supplied action.
- thenAcceptAsync(Consumer<? super T>) - Method in class java8.util.concurrent.CompletableFuture
-
- thenAcceptAsync(Consumer<? super T>, Executor) - Method in class java8.util.concurrent.CompletableFuture
-
- thenAcceptAsync(Consumer<? super T>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, is executed using this stage's default asynchronous
execution facility, with this stage's result as the argument to
the supplied action.
- thenAcceptAsync(Consumer<? super T>, Executor) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, is executed using the supplied Executor, with this
stage's result as the argument to the supplied action.
- thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class java8.util.concurrent.CompletableFuture
-
- thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this and the other
given stage both complete normally, is executed with the two
results as arguments to the supplied action.
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class java8.util.concurrent.CompletableFuture
-
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in class java8.util.concurrent.CompletableFuture
-
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this and the other
given stage complete normally, is executed using this stage's
default asynchronous execution facility, with the two results
as arguments to the supplied action.
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this and the other
given stage complete normally, is executed using the supplied
executor, with the two results as arguments to the supplied
function.
- thenApply(Function<? super T, ? extends U>) - Method in class java8.util.concurrent.CompletableFuture
-
- thenApply(Function<? super T, ? extends U>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, is executed with this stage's result as the argument
to the supplied function.
- thenApplyAsync(Function<? super T, ? extends U>) - Method in class java8.util.concurrent.CompletableFuture
-
- thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in class java8.util.concurrent.CompletableFuture
-
- thenApplyAsync(Function<? super T, ? extends U>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, is executed using this stage's default asynchronous
execution facility, with this stage's result as the argument to
the supplied function.
- thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, is executed using the supplied Executor, with this
stage's result as the argument to the supplied function.
- thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class java8.util.concurrent.CompletableFuture
-
- thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this and the other
given stage both complete normally, is executed with the two
results as arguments to the supplied function.
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class java8.util.concurrent.CompletableFuture
-
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in class java8.util.concurrent.CompletableFuture
-
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this and the other
given stage complete normally, is executed using this stage's
default asynchronous execution facility, with the two results
as arguments to the supplied function.
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this and the other
given stage complete normally, is executed using the supplied
executor, with the two results as arguments to the supplied
function.
- thenComparing(Comparator<? super T>, Comparator<? super T>) - Static method in class java8.util.Comparators
-
Returns a lexicographic-order comparator with another comparator.
- thenComparing(Comparator<? super T>, Function<? super T, ? extends U>, Comparator<? super U>) - Static method in class java8.util.Comparators
-
Returns a lexicographic-order comparator with a function that
extracts a key to be compared with the given Comparator
.
- thenComparing(Comparator<? super T>, Function<? super T, ? extends U>) - Static method in class java8.util.Comparators
-
Returns a lexicographic-order comparator with a function that
extracts a Comparable
sort key.
- thenComparingDouble(Comparator<? super T>, ToDoubleFunction<? super T>) - Static method in class java8.util.Comparators
-
Returns a lexicographic-order comparator with a function that
extracts a double
sort key.
- thenComparingInt(Comparator<? super T>, ToIntFunction<? super T>) - Static method in class java8.util.Comparators
-
Returns a lexicographic-order comparator with a function that
extracts a int
sort key.
- thenComparingLong(Comparator<? super T>, ToLongFunction<? super T>) - Static method in class java8.util.Comparators
-
Returns a lexicographic-order comparator with a function that
extracts a long
sort key.
- thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in class java8.util.concurrent.CompletableFuture
-
- thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, is executed with this stage as the argument
to the supplied function.
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in class java8.util.concurrent.CompletableFuture
-
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in class java8.util.concurrent.CompletableFuture
-
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, is executed using this stage's default asynchronous
execution facility, with this stage as the argument to the
supplied function.
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, is executed using the supplied Executor, with this
stage's result as the argument to the supplied function.
- thenRun(Runnable) - Method in class java8.util.concurrent.CompletableFuture
-
- thenRun(Runnable) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, executes the given action.
- thenRunAsync(Runnable) - Method in class java8.util.concurrent.CompletableFuture
-
- thenRunAsync(Runnable, Executor) - Method in class java8.util.concurrent.CompletableFuture
-
- thenRunAsync(Runnable) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, executes the given action using this stage's default
asynchronous execution facility.
- thenRunAsync(Runnable, Executor) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage that, when this stage completes
normally, executes the given action using the supplied Executor.
- ThreadLocalRandom - Class in java8.util.concurrent
-
A random number generator isolated to the current thread.
- toArray() - Method in interface java8.util.stream.DoubleStream
-
Returns an array containing the elements of this stream.
- toArray() - Method in interface java8.util.stream.IntStream
-
Returns an array containing the elements of this stream.
- toArray() - Method in interface java8.util.stream.LongStream
-
Returns an array containing the elements of this stream.
- toArray() - Method in interface java8.util.stream.Stream
-
Returns an array containing the elements of this stream.
- toArray(IntFunction<A[]>) - Method in interface java8.util.stream.Stream
-
Returns an array containing the elements of this stream, using the
provided generator
function to allocate the returned array, as
well as any additional arrays that might be required for a partitioned
execution or for resizing.
- toCollection(Supplier<C>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
that accumulates the input elements into a
new Collection
, in encounter order.
- toCompletableFuture() - Method in class java8.util.concurrent.CompletableFuture
-
Returns this CompletableFuture
- toCompletableFuture() - Method in interface java8.util.concurrent.CompletionStage
-
Returns a
CompletableFuture
maintaining the same
completion properties as this stage.
- toConcurrentMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class java8.util.stream.Collectors
-
Returns a concurrent Collector
that accumulates elements into a
ConcurrentMap
whose keys and values are the result of applying
the provided mapping functions to the input elements.
- toConcurrentMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>) - Static method in class java8.util.stream.Collectors
-
Returns a concurrent Collector
that accumulates elements into a
ConcurrentMap
whose keys and values are the result of applying
the provided mapping functions to the input elements.
- toConcurrentMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>, Supplier<M>) - Static method in class java8.util.stream.Collectors
-
Returns a concurrent Collector
that accumulates elements into a
ConcurrentMap
whose keys and values are the result of applying
the provided mapping functions to the input elements.
- ToDoubleBiFunction<T,U> - Interface in java8.util.function
-
Represents a function that accepts two arguments and produces a double-valued
result.
- ToDoubleFunction<T> - Interface in java8.util.function
-
Represents a function that produces a double-valued result.
- ToIntBiFunction<T,U> - Interface in java8.util.function
-
Represents a function that accepts two arguments and produces an int-valued
result.
- ToIntFunction<T> - Interface in java8.util.function
-
Represents a function that produces an int-valued result.
- toList() - Static method in class java8.util.stream.Collectors
-
Returns a Collector
that accumulates the input elements into a
new List
.
- ToLongBiFunction<T,U> - Interface in java8.util.function
-
Represents a function that accepts two arguments and produces a long-valued
result.
- ToLongFunction<T> - Interface in java8.util.function
-
Represents a function that produces a long-valued result.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
that accumulates elements into a
Map
whose keys and values are the result of applying the provided
mapping functions to the input elements.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
that accumulates elements into a
Map
whose keys and values are the result of applying the provided
mapping functions to the input elements.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>, Supplier<M>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
that accumulates elements into a
Map
whose keys and values are the result of applying the provided
mapping functions to the input elements.
- toSet() - Static method in class java8.util.stream.Collectors
-
Returns a Collector
that accumulates the input elements into a
new Set
.
- toString() - Method in class java8.util.concurrent.atomic.DoubleAccumulator
-
Returns the String representation of the current value.
- toString() - Method in class java8.util.concurrent.atomic.DoubleAdder
-
- toString() - Method in class java8.util.concurrent.atomic.LongAccumulator
-
Returns the String representation of the current value.
- toString() - Method in class java8.util.concurrent.atomic.LongAdder
-
- toString() - Method in class java8.util.concurrent.CompletableFuture
-
Returns a string identifying this CompletableFuture, as well as
its completion state.
- toString() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns a string identifying this pool, as well as its state,
including indications of run state, parallelism level, and
worker and task counts.
- toString() - Method in class java8.util.concurrent.Phaser
-
Returns a string identifying this phaser, as well as its
state.
- toString() - Method in class java8.util.DoubleSummaryStatistics
-
Returns a non-empty string representation of this object suitable for
debugging.
- toString() - Method in class java8.util.IntSummaryStatistics
-
- toString() - Method in class java8.util.LongSummaryStatistics
-
- toString(Object) - Static method in class java8.util.Objects
-
Returns the result of calling toString
for a non-null
argument and "null"
for a null
argument.
- toString(Object, String) - Static method in class java8.util.Objects
-
Returns the result of calling toString
on the first
argument if the first argument is not null
and returns
the second argument otherwise.
- toString() - Method in class java8.util.Optional
-
Returns a non-empty string representation of this Optional suitable for
debugging.
- toString() - Method in class java8.util.OptionalDouble
-
Returns a non-empty string representation of this object suitable for
debugging.
- toString() - Method in class java8.util.OptionalInt
-
Returns a non-empty string representation of this object suitable for
debugging.
- toString() - Method in class java8.util.OptionalLong
-
Returns a non-empty string representation of this object suitable for
debugging.
- toString() - Method in class java8.util.StringJoiner
-
Returns the current value, consisting of the prefix
, the values
added so far separated by the delimiter
, and the suffix
,
unless no elements have been added in which case, the
prefix + suffix
or the emptyValue
characters are returned
- toUnsignedLong(int) - Static method in class java8.lang.Integers
-
Converts the argument to a long
by an unsigned
conversion.
- tryAdvance(DoubleConsumer) - Method in interface java8.util.Spliterator.OfDouble
-
- tryAdvance(Consumer<? super Double>) - Method in interface java8.util.Spliterator.OfDouble
-
If a remaining element exists, performs the given action on it,
returning true
; else returns false
.
- tryAdvance(IntConsumer) - Method in interface java8.util.Spliterator.OfInt
-
- tryAdvance(Consumer<? super Integer>) - Method in interface java8.util.Spliterator.OfInt
-
If a remaining element exists, performs the given action on it,
returning true
; else returns false
.
- tryAdvance(LongConsumer) - Method in interface java8.util.Spliterator.OfLong
-
- tryAdvance(Consumer<? super Long>) - Method in interface java8.util.Spliterator.OfLong
-
If a remaining element exists, performs the given action on it,
returning true
; else returns false
.
- tryAdvance(T_CONS) - Method in interface java8.util.Spliterator.OfPrimitive
-
If a remaining element exists, performs the given action on it,
returning true
; else returns false
.
- tryAdvance(Consumer<? super T>) - Method in interface java8.util.Spliterator
-
If a remaining element exists, performs the given action on it,
returning true
; else returns false
.
- tryAdvance(Spliterator.OfDouble, Consumer<? super Double>) - Static method in class java8.util.Spliterators.OfDouble
-
If a remaining element exists, performs the given action on it,
returning true
; else returns false
.
- tryAdvance(Spliterator.OfInt, Consumer<? super Integer>) - Static method in class java8.util.Spliterators.OfInt
-
If a remaining element exists, performs the given action on it,
returning true
; else returns false
.
- tryAdvance(Spliterator.OfLong, Consumer<? super Long>) - Static method in class java8.util.Spliterators.OfLong
-
If a remaining element exists, performs the given action on it,
returning true
; else returns false
.
- tryComplete() - Method in class java8.util.concurrent.CountedCompleter
-
- trySplit() - Method in interface java8.util.Spliterator.OfDouble
-
- trySplit() - Method in interface java8.util.Spliterator.OfInt
-
- trySplit() - Method in interface java8.util.Spliterator.OfLong
-
- trySplit() - Method in interface java8.util.Spliterator.OfPrimitive
-
- trySplit() - Method in interface java8.util.Spliterator
-
If this spliterator can be partitioned, returns a Spliterator
covering elements, that will, upon return from this method, not
be covered by this Spliterator.
- trySplit() - Method in class java8.util.Spliterators.AbstractDoubleSpliterator
-
If this spliterator can be partitioned, returns a Spliterator
covering elements, that will, upon return from this method, not
be covered by this Spliterator.
- trySplit() - Method in class java8.util.Spliterators.AbstractIntSpliterator
-
If this spliterator can be partitioned, returns a Spliterator
covering elements, that will, upon return from this method, not
be covered by this Spliterator.
- trySplit() - Method in class java8.util.Spliterators.AbstractLongSpliterator
-
If this spliterator can be partitioned, returns a Spliterator
covering elements, that will, upon return from this method, not
be covered by this Spliterator.
- trySplit() - Method in class java8.util.Spliterators.AbstractSpliterator
-
If this spliterator can be partitioned, returns a Spliterator
covering elements, that will, upon return from this method, not
be covered by this Spliterator.
- tryUnfork() - Method in class java8.util.concurrent.ForkJoinTask
-
Tries to unschedule this task for execution.