Modifier and Type | Field and Description |
---|---|
static util.Function0<Void> |
noOp |
Constructor and Description |
---|
Functions() |
Modifier and Type | Method and Description |
---|---|
static <F> com.google.common.base.Function<F,Void> |
doAll(Iterable<com.google.common.base.Function<? super F,Void>> functions) |
static <T,E extends RuntimeException> |
propagateException(util.ThrowingSupplier<T> f,
com.google.common.base.Function<Throwable,E> newEx) |
static <F> com.google.common.base.Function<F,Void> |
sideEffect(com.google.common.base.Function<? super F,?> function) |
public static util.Function0<Void> noOp
public static <F> com.google.common.base.Function<F,Void> sideEffect(com.google.common.base.Function<? super F,?> function)
public static <F> com.google.common.base.Function<F,Void> doAll(Iterable<com.google.common.base.Function<? super F,Void>> functions)
public static <T,E extends RuntimeException> Supplier<T> propagateException(util.ThrowingSupplier<T> f, com.google.common.base.Function<Throwable,E> newEx)
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.