Package org.aksw.commons.util.convert
Class ConvertFunctionImpl<I,O>
java.lang.Object
org.aksw.commons.util.convert.ConvertFunctionBase
org.aksw.commons.util.convert.ConvertFunctionImpl<I,O>
- All Implemented Interfaces:
ConvertFunction<I,,O> ConvertFunctionRaw
-
Field Summary
FieldsFields inherited from class org.aksw.commons.util.convert.ConvertFunctionBase
from, to -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <I,O> ConvertFunction<I, O> Create a converter from a lambdaMethods inherited from class org.aksw.commons.util.convert.ConvertFunctionBase
getFrom, getToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.util.convert.ConvertFunction
convert, getRawFunctionMethods inherited from interface org.aksw.commons.util.convert.ConvertFunctionRaw
andThen, convertRaw, getFrom, getTo
-
Field Details
-
fn
-
-
Constructor Details
-
ConvertFunctionImpl
-
-
Method Details
-
getFunction
- Specified by:
getFunctionin interfaceConvertFunction<I,O>
-
create
public static <I,O> ConvertFunction<I,O> create(Class<?> src, Class<?> tgt, Function<I, O> srcToTgt) Create a converter from a lambda
-