org.simpleflatmapper.reflect.MethodBiFunctionPair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sfm-reflect Show documentation
Show all versions of sfm-reflect Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.simpleflatmapper.reflect;
import org.simpleflatmapper.util.BiFunction;
import java.lang.reflect.Method;
public class MethodBiFunctionPair {
private final Method method;
private final BiFunction super T1, ? super T2, ?> function;
public MethodBiFunctionPair(Method method, BiFunction super T1, ? super T2, ?> function) {
this.method = method;
this.function = function;
}
public Method getMethod() {
return method;
}
public BiFunction super T1, ? super T2, ?> getFunction() {
return function;
}
}