- generate(DoubleSupplier) - Static method in class java8.util.stream.DoubleStreams
-
Returns an infinite sequential unordered stream where each element is
generated by the provided DoubleSupplier
.
- generate(IntSupplier) - Static method in class java8.util.stream.IntStreams
-
Returns an infinite sequential unordered stream where each element is
generated by the provided IntSupplier
.
- generate(LongSupplier) - Static method in class java8.util.stream.LongStreams
-
Returns an infinite sequential unordered stream where each element is
generated by the provided LongSupplier
.
- generate(Supplier<T>) - Static method in class java8.util.stream.StreamSupport
-
Returns an infinite sequential unordered stream where each element is
generated by the provided Supplier
.
- get() - Method in class java8.util.concurrent.atomic.DoubleAccumulator
-
Returns the current value.
- get() - Method in class java8.util.concurrent.atomic.LongAccumulator
-
Returns the current value.
- get() - Method in class java8.util.concurrent.CompletableFuture
-
Waits if necessary for this future to complete, and then
returns its result.
- get(long, TimeUnit) - Method in class java8.util.concurrent.CompletableFuture
-
Waits if necessary for at most the given time for this future
to complete, and then returns its result, if available.
- get() - Method in class java8.util.concurrent.ForkJoinTask
-
Waits if necessary for the computation to complete, and then
retrieves its result.
- get(long, TimeUnit) - Method in class java8.util.concurrent.ForkJoinTask
-
Waits if necessary for at most the given time for the computation
to complete, and then retrieves its result, if available.
- get() - Method in interface java8.util.function.Supplier
-
Gets a result.
- get() - Method in class java8.util.Optional
-
If a value is present in this Optional
, returns the value,
otherwise throws NoSuchElementException
.
- getActiveThreadCount() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns an estimate of the number of threads that are currently
stealing or executing tasks.
- getArrivedParties() - Method in class java8.util.concurrent.Phaser
-
Returns the number of registered parties that have arrived at
the current phase of this phaser.
- getAsBoolean() - Method in interface java8.util.function.BooleanSupplier
-
Gets a result.
- getAsDouble() - Method in interface java8.util.function.DoubleSupplier
-
Gets a result.
- getAsDouble() - Method in class java8.util.OptionalDouble
-
If a value is present in this OptionalDouble
, returns the value,
otherwise throws NoSuchElementException
.
- getAsInt() - Method in interface java8.util.function.IntSupplier
-
Gets a result.
- getAsInt() - Method in class java8.util.OptionalInt
-
If a value is present in this OptionalInt
, returns the value,
otherwise throws NoSuchElementException
.
- getAsLong() - Method in interface java8.util.function.LongSupplier
-
Gets a result.
- getAsLong() - Method in class java8.util.OptionalLong
-
If a value is present in this OptionalLong
, returns the value,
otherwise throws NoSuchElementException
.
- getAsyncMode() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns true
if this pool uses local first-in-first-out
scheduling mode for forked tasks that are never joined.
- getAverage() - Method in class java8.util.DoubleSummaryStatistics
-
Returns the arithmetic mean of values recorded, or zero if no
values have been recorded.
- getAverage() - Method in class java8.util.IntSummaryStatistics
-
Returns the arithmetic mean of values recorded, or zero if no values have been
recorded.
- getAverage() - Method in class java8.util.LongSummaryStatistics
-
Returns the arithmetic mean of values recorded, or zero if no values have been
recorded.
- getCommonPoolParallelism() - Static method in class java8.util.concurrent.ForkJoinPool
-
Returns the targeted parallelism level of the common pool.
- getComparator() - Method in interface java8.util.Spliterator
-
If this Spliterator's source is
Spliterator.SORTED
by a
Comparator
,
returns that
Comparator
.
- getComparator(Spliterator<T>) - Static method in class java8.util.Spliterators
-
If the Spliterator's source is
Spliterator.SORTED
by a
Comparator
,
returns that
Comparator
.
- getCompleter() - Method in class java8.util.concurrent.CountedCompleter
-
Returns the completer established in this task's constructor,
or null
if none.
- getCount() - Method in class java8.util.DoubleSummaryStatistics
-
Return the count of values recorded.
- getCount() - Method in class java8.util.IntSummaryStatistics
-
Returns the count of values recorded.
- getCount() - Method in class java8.util.LongSummaryStatistics
-
Returns the count of values recorded.
- getExactSizeIfKnown() - Method in interface java8.util.Spliterator
-
- getExactSizeIfKnown(Spliterator<T>) - Static method in class java8.util.Spliterators
-
- getException() - Method in class java8.util.concurrent.ForkJoinTask
-
Returns the exception thrown by the base computation, or a
CancellationException
if cancelled, or null
if
none or if the method has not yet completed.
- getFactory() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns the factory used for constructing new workers.
- getForkJoinTaskTag() - Method in class java8.util.concurrent.ForkJoinTask
-
Returns the tag for this task.
- getMax() - Method in class java8.util.DoubleSummaryStatistics
-
Returns the maximum recorded value, Double.NaN
if any recorded
value was NaN or Double.NEGATIVE_INFINITY
if no values were
recorded.
- getMax() - Method in class java8.util.IntSummaryStatistics
-
Returns the maximum value recorded, or Integer.MIN_VALUE
if no
values have been recorded.
- getMax() - Method in class java8.util.LongSummaryStatistics
-
Returns the maximum value recorded, or Long.MIN_VALUE
if no
values have been recorded
- getMin() - Method in class java8.util.DoubleSummaryStatistics
-
Returns the minimum recorded value, Double.NaN
if any recorded
value was NaN or Double.POSITIVE_INFINITY
if no values were
recorded.
- getMin() - Method in class java8.util.IntSummaryStatistics
-
Returns the minimum value recorded, or Integer.MAX_VALUE
if no
values have been recorded.
- getMin() - Method in class java8.util.LongSummaryStatistics
-
Returns the minimum value recorded, or Long.MAX_VALUE
if no
values have been recorded.
- getNow(T) - Method in class java8.util.concurrent.CompletableFuture
-
Returns the result value (or throws any encountered exception)
if completed, else returns the given valueIfAbsent.
- getNumberOfDependents() - Method in class java8.util.concurrent.CompletableFuture
-
Returns the estimated number of CompletableFutures whose
completions are awaiting completion of this CompletableFuture.
- getOrDefault(Map<K, V>, Object, V) - Static method in class java8.util.Maps
-
Returns the value to which the specified key is mapped, or
defaultValue
if the map contains no mapping for the key.
- getOrDefaultConcurrent(ConcurrentMap<K, V>, Object, V) - Static method in class java8.util.Maps
-
Returns the value to which the specified key is mapped, or
defaultValue
if the map contains no mapping for the key.
- getParallelism() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns the targeted parallelism level of this pool.
- getParent() - Method in class java8.util.concurrent.Phaser
-
Returns the parent of this phaser, or null
if none.
- getPendingCount() - Method in class java8.util.concurrent.CountedCompleter
-
Returns the current pending count.
- getPhase() - Method in class java8.util.concurrent.Phaser
-
Returns the current phase number.
- getPool() - Static method in class java8.util.concurrent.ForkJoinTask
-
Returns the pool hosting the current task execution, or null
if this task is executing outside of any ForkJoinPool.
- getPool() - Method in class java8.util.concurrent.ForkJoinWorkerThread
-
Returns the pool hosting this thread.
- getPoolIndex() - Method in class java8.util.concurrent.ForkJoinWorkerThread
-
Returns the unique index number of this thread in its pool.
- getPoolSize() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns the number of worker threads that have started but not
yet terminated.
- getQueuedSubmissionCount() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns an estimate of the number of tasks submitted to this
pool that have not yet begun executing.
- getQueuedTaskCount() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns an estimate of the total number of tasks currently held
in queues by worker threads (but not including tasks submitted
to the pool that have not begun executing).
- getQueuedTaskCount() - Static method in class java8.util.concurrent.ForkJoinTask
-
Returns an estimate of the number of tasks that have been
forked by the current worker thread but not yet executed.
- getRawResult() - Method in class java8.util.concurrent.CountedCompleter
-
Returns the result of the computation.
- getRawResult() - Method in class java8.util.concurrent.ForkJoinTask
-
Returns the result that would be returned by
ForkJoinTask.join()
, even
if this task completed abnormally, or
null
if this task
is not known to have been completed.
- getRawResult() - Method in class java8.util.concurrent.RecursiveAction
-
Always returns null
.
- getRawResult() - Method in class java8.util.concurrent.RecursiveTask
-
- getRegisteredParties() - Method in class java8.util.concurrent.Phaser
-
Returns the number of parties registered at this phaser.
- getRoot() - Method in class java8.util.concurrent.CountedCompleter
-
Returns the root of the current computation; i.e., this
task if it has no completer, else its completer's root.
- getRoot() - Method in class java8.util.concurrent.Phaser
-
Returns the root ancestor of this phaser, which is the same as
this phaser if it has no parent.
- getRunningThreadCount() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns an estimate of the number of worker threads that are
not blocked waiting to join tasks or for other managed
synchronization.
- getStealCount() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns an estimate of the total number of tasks stolen from
one thread's work queue by another.
- getSum() - Method in class java8.util.DoubleSummaryStatistics
-
Returns the sum of values recorded, or zero if no values have been
recorded.
- getSum() - Method in class java8.util.IntSummaryStatistics
-
Returns the sum of values recorded, or zero if no values have been
recorded.
- getSum() - Method in class java8.util.LongSummaryStatistics
-
Returns the sum of values recorded, or zero if no values have been
recorded.
- getSurplusQueuedTaskCount() - Static method in class java8.util.concurrent.ForkJoinTask
-
Returns an estimate of how many more locally queued tasks are
held by the current worker thread than there are other worker
threads that might steal them, or zero if this thread is not
operating in a ForkJoinPool.
- getThenReset() - Method in class java8.util.concurrent.atomic.DoubleAccumulator
-
- getThenReset() - Method in class java8.util.concurrent.atomic.LongAccumulator
-
- getUnarrivedParties() - Method in class java8.util.concurrent.Phaser
-
Returns the number of registered parties that have not yet
arrived at the current phase of this phaser.
- getUncaughtExceptionHandler() - Method in class java8.util.concurrent.ForkJoinPool
-
Returns the handler for internal worker threads that terminate
due to unrecoverable errors encountered while executing tasks.
- groupingBy(Function<? super T, ? extends K>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
implementing a "group by" operation on
input elements of type T
, grouping elements according to a
classification function, and returning the results in a Map
.
- groupingBy(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
implementing a cascaded "group by" operation
on input elements of type T
, grouping elements according to a
classification function, and then performing a reduction operation on
the values associated with a given key using the specified downstream
Collector
.
- groupingBy(Function<? super T, ? extends K>, Supplier<M>, Collector<? super T, A, D>) - Static method in class java8.util.stream.Collectors
-
Returns a Collector
implementing a cascaded "group by" operation
on input elements of type T
, grouping elements according to a
classification function, and then performing a reduction operation on
the values associated with a given key using the specified downstream
Collector
.
- groupingByConcurrent(Function<? super T, ? extends K>) - Static method in class java8.util.stream.Collectors
-
Returns a concurrent Collector
implementing a "group by"
operation on input elements of type T
, grouping elements
according to a classification function.
- groupingByConcurrent(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Static method in class java8.util.stream.Collectors
-
Returns a concurrent Collector
implementing a cascaded "group by"
operation on input elements of type T
, grouping elements
according to a classification function, and then performing a reduction
operation on the values associated with a given key using the specified
downstream Collector
.
- groupingByConcurrent(Function<? super T, ? extends K>, Supplier<M>, Collector<? super T, A, D>) - Static method in class java8.util.stream.Collectors
-
Returns a concurrent Collector
implementing a cascaded "group by"
operation on input elements of type T
, grouping elements
according to a classification function, and then performing a reduction
operation on the values associated with a given key using the specified
downstream Collector
.