Consumer instances.
| Modifier and Type | Field and Description |
|---|---|
| private static final Consumer | NOP
NOP singleton. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < the type of the argument the consumer accepts. T> void | |
| public static < type type to consume. T> Consumer |
| NOP | back to summary |
|---|---|
| private static final Consumer<T> NOP NOP singleton.
| |
| Consumers | back to summary |
|---|---|
| private Consumers() | |
| accept | back to summary |
|---|---|
| public static <T> void accept(final Consumer<T> consumer, final T object) Applies the given
| |
| nop | back to summary |
|---|---|
| public static <T> Consumer Gets the NOP Consumer singleton.
| |