- All Superinterfaces:
- java.util.function.Function<T1,T2>, Serializable
- All Known Implementing Classes:
- AbstractTreebankParserParams.AnnotatePunctuationFunction, Buckwalter, TregexPoweredTreebankParserParams.AnnotateHeadFunction, TregexPoweredTreebankParserParams.SimpleStringFunction
public interface SerializableFunction<T1,T2>
extends java.util.function.Function<T1,T2>, Serializable
This interface is a conjunction of Function and Serializable, which is
a bad idea from the perspective of the type system, but one that seems
more palatable than other bad ideas until java's type system is flexible
enough to support type conjunctions.
- Author:
- dramage