public final class ThrowingFunctions extends Object
ThrowingFunction and ThrowingBiFunction types| Constructor and Description |
|---|
ThrowingFunctions() |
| Modifier and Type | Method and Description |
|---|---|
static <T,E extends Exception> |
fromConsumer(ThrowingConsumer<T,E> consumer) |
static <T,E extends Exception> |
fromSupplier(ThrowingSupplier<T,E> supplier) |
static <T,E extends Exception> |
identity() |
public static <T,E extends Exception> ThrowingUnaryOperator<T,E> identity()
public static <T,E extends Exception> ThrowingFunction<T,Void,E> fromConsumer(ThrowingConsumer<T,E> consumer)
public static <T,E extends Exception> ThrowingFunction<Void,T,E> fromSupplier(ThrowingSupplier<T,E> supplier)
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.