| Package | Description |
|---|---|
| java.lang | |
| java.util | |
| java.util.function |
| 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 |
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.
|
| 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. |
Copyright © 2025 API Design. All Rights Reserved.