| Package | Description |
|---|---|
| java.lang |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.util |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.util.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
| java.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
Iterable.forEach(Consumer<? super T> action)
Performs the given action for each element of the
Iterable
until all elements have been processed or the action throws an
exception. |
| Modifier and Type | Method and Description |
|---|---|
default void |
Spliterator.OfDouble.forEachRemaining(Consumer<? super Double> action)
Performs the given action for each remaining element, sequentially in
the current thread, until all elements have been processed or the action
throws an exception.
|
default void |
PrimitiveIterator.OfDouble.forEachRemaining(Consumer<? super Double> action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
default void |
Iterator.forEachRemaining(Consumer<? super E> action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
default void |
Spliterator.OfInt.forEachRemaining(Consumer<? super Integer> action)
Performs the given action for each remaining element, sequentially in
the current thread, until all elements have been processed or the action
throws an exception.
|
default void |
PrimitiveIterator.OfInt.forEachRemaining(Consumer<? super Integer> action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
default void |
Spliterator.OfLong.forEachRemaining(Consumer<? super Long> action)
Performs the given action for each remaining element, sequentially in
the current thread, until all elements have been processed or the action
throws an exception.
|
default void |
PrimitiveIterator.OfLong.forEachRemaining(Consumer<? super Long> action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
default void |
Spliterator.forEachRemaining(Consumer<? super T> action)
Performs the given action for each remaining element, sequentially in
the current thread, until all elements have been processed or the action
throws an exception.
|
void |
Optional.ifPresent(Consumer<? super T> action)
If a value is present, performs the given action with the value,
otherwise does nothing.
|
void |
Optional.ifPresentOrElse(Consumer<? super T> action,
Runnable emptyAction)
If a value is present, performs the given action with the value,
otherwise performs the given empty-based action.
|
default boolean |
Spliterator.OfDouble.tryAdvance(Consumer<? super Double> action)
If a remaining element exists, performs the given action on it,
returning
true; else returns false. |
default boolean |
Spliterator.OfInt.tryAdvance(Consumer<? super Integer> action)
If a remaining element exists, performs the given action on it,
returning
true; else returns false. |
default boolean |
Spliterator.OfLong.tryAdvance(Consumer<? super Long> action)
If a remaining element exists, performs the given action on it,
returning
true; else returns false. |
boolean |
Spliterator.tryAdvance(Consumer<? super T> action)
If a remaining element exists, performs the given action on it,
returning
true; else returns false. |
| Modifier and Type | Method and Description |
|---|---|
default Consumer<T> |
Consumer.andThen(Consumer<? super T> after)
Returns a composed
Consumer that performs, in sequence, this
operation followed by the after operation. |
| Modifier and Type | Method and Description |
|---|---|
default Consumer<T> |
Consumer.andThen(Consumer<? super T> after)
Returns a composed
Consumer that performs, in sequence, this
operation followed by the after operation. |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Stream.Builder<T>
A mutable builder for a
Stream. |
| Modifier and Type | Method and Description |
|---|---|
void |
Stream.forEach(Consumer<? super T> action)
Performs an action for each element of this stream.
|
void |
Stream.forEachOrdered(Consumer<? super T> action)
Performs an action for each element of this stream, in the encounter
order of the stream if the stream has a defined encounter order.
|
Stream<T> |
Stream.peek(Consumer<? super T> action)
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.
|
Copyright © 2021 API Design. All Rights Reserved.