public class CommonProcessors
extends java.lang.Object
Processor collect/find implementations.
.| Modifier and Type | Class and Description |
|---|---|
static class |
CommonProcessors.CollectProcessor<T> |
static class |
CommonProcessors.CollectUniquesProcessor<T> |
static class |
CommonProcessors.FindFirstAndOnlyProcessor<T> |
static class |
CommonProcessors.FindFirstProcessor<T> |
static class |
CommonProcessors.FindProcessor<T> |
static class |
CommonProcessors.UniqueProcessor<T> |
| Constructor and Description |
|---|
CommonProcessors() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Processor<T> |
alwaysFalse() |
static <T> Processor<T> |
alwaysTrue() |
static <T> Processor<T> |
notNullProcessor(Processor<? super T> processor) |
static <T> Processor<T> |
processAll(Consumer<? super T> consumer) |
public static <T> Processor<T> processAll(Consumer<? super T> consumer)
false value.public static <T> Processor<T> alwaysFalse()
public static <T> Processor<T> alwaysTrue()