Package org.apache.camel.util.function
Interface ThrowingToLongFunction<I,T extends Throwable>
-
- Type Parameters:
I
- the type of the input of the functionT
- the type of the exception the accept method may throw
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ThrowingToLongFunction<I,T extends Throwable>
Represents a function that produces a long-valued result and may thrown an exception.- See Also:
ToLongFunction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
apply(I in)
Applies this function to the given argument, potentially throwing an exception.
-