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