blob: 9ca64aabd737ad6d0e2c9d66ac6848584e6cee76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
// Copyright 2018 Yahoo Holdings. 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;
}
|