Class FunctionUtils
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.util.function.FunctionUtils
 
- 
 public final class FunctionUtils extends Object - Author:
- Stephen Mallette (http://stephen.genoprime.com)
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,U>
 BiConsumer<T,U>wrapBiConsumer(ThrowingBiConsumer<T,U> consumerThatThrows)static <T> Consumer<T>wrapConsumer(ThrowingConsumer<T> consumerThatThrows)static <T,U>
 Function<T,U>wrapFunction(ThrowingFunction<T,U> functionThatThrows)static <T> Supplier<T>wrapSupplier(ThrowingSupplier<T> supplierThatThrows)
 
- 
- 
- 
Method Detail- 
wrapFunctionpublic static <T,U> Function<T,U> wrapFunction(ThrowingFunction<T,U> functionThatThrows) 
 - 
wrapConsumerpublic static <T> Consumer<T> wrapConsumer(ThrowingConsumer<T> consumerThatThrows) 
 - 
wrapBiConsumerpublic static <T,U> BiConsumer<T,U> wrapBiConsumer(ThrowingBiConsumer<T,U> consumerThatThrows) 
 - 
wrapSupplierpublic static <T> Supplier<T> wrapSupplier(ThrowingSupplier<T> supplierThatThrows) 
 
- 
 
-