blob: 7fc8cbe89b5cb8017cb1f73c9c4ad85d65102b44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.plugin.util;
/* Equivalent to java.util.function.Function, but allows throwing of Exceptions */
/**
* @author ollivir
*/
public interface ThrowingFunction<T, U> {
U apply(T input) throws Exception;
}
|