public final class ExtensionProcessingHelper
extends java.lang.Object
Constructor and Description |
---|
ExtensionProcessingHelper() |
Modifier and Type | Method and Description |
---|---|
static <T,R> R |
computeSafeIfAny(java.util.function.Function<? super T,? extends R> processor,
java.lang.Iterable<? extends T> iterable) |
static <T> T |
findFirstSafe(java.util.function.Predicate<? super T> predicate,
java.lang.Iterable<? extends T> iterable) |
static <T> void |
forEachExtensionSafe(java.util.function.Consumer<? super T> extensionConsumer,
java.lang.Iterable<? extends T> iterable) |
public static <T> void forEachExtensionSafe(java.util.function.Consumer<? super T> extensionConsumer, java.lang.Iterable<? extends T> iterable)
public static <T> T findFirstSafe(java.util.function.Predicate<? super T> predicate, java.lang.Iterable<? extends T> iterable)
public static <T,R> R computeSafeIfAny(java.util.function.Function<? super T,? extends R> processor, java.lang.Iterable<? extends T> iterable)