APIdia Launch Partner
Top Description Methods
net.ucanaccess.util

public Interface IThrowingFunction<I, R, T extends Throwable>

Annotations
@FunctionalInterface
Type Parameters
<I>
the type of the input to the function
<R>
the type of the result of the function
<T>
the type of Throwable thrown

A function that accepts one argument, produces a result and may throw an exception.

This is a functional interface whose functional method is apply(I).

Author
Markus Spann
Since
v5.1.0

Method Summary

Modifier and TypeMethod and Description
public R

Returns:

the function result
apply
(I
the function argument
input
)

Applies this function to the given argument possibly throwing an exception of type T.

Method Detail

applyback to summary
public R apply(I input) throws IThrowingConsumer:T

Applies this function to the given argument possibly throwing an exception of type T.

Parameters
input:I

the function argument

Returns:R

the function result