All Downloads are FREE. Search and download functionalities are using the official Maven repository.

i.FunctionFactory Maven / Gradle / Ivy

There is a newer version: 0.9.6
Show newest version
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