i.FunctionFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javaee-rt Show documentation
Show all versions of javaee-rt Show documentation
An Execution Environment for Java SCOREs
package i;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import p.score.InternalFunction;
public final class FunctionFactory {
private final MethodHandles.Lookup lookup;
private final MethodHandle target;
public FunctionFactory(MethodHandles.Lookup lookup, MethodHandle target) {
this.lookup = lookup;
this.target = target;
}
public s.java.util.function.Function instantiate() {
return InternalFunction.createFunction(this.lookup, this.target);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy