Package | Description |
---|---|
net.dempsy.util |
Modifier and Type | Method and Description |
---|---|
static <T,Ein extends Exception,Eout extends Exception> |
Functional.mapChecked(Functional.SupplierThrows<T,Ein> f,
Function<Ein,Eout> mapException)
This method allows for the automapping mapping of lambda's that throw checked exceptions to other (checked or unchecked) exceptions.
|
static <T,E extends Exception> |
Functional.uncheck(Functional.SupplierThrows<T,E> f)
This method allows the use of lambda's that throw exceptions in standard java 8
Stream operations by converting those exceptions to an unchecked exception. |
Copyright © 2018. All rights reserved.