Package com.diffplug.spotless
Interface SerializedFunction<T,R>
- All Superinterfaces:
Serializable
,ThrowingEx.Function<T,
R>
- All Known Implementing Classes:
SerializedFunction.AlwaysReturns
- 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 SerializedFunction<T,R>
extends Serializable, ThrowingEx.Function<T,R>
-
Nested Class Summary
Nested Classes -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T,
R> SerializedFunction <T, R> alwaysReturns
(R value) static <T> SerializedFunction
<T, T> identity()
Methods inherited from interface com.diffplug.spotless.ThrowingEx.Function
apply
-
Method Details
-
identity
-
alwaysReturns
-