/** * This code is generated in org.simantics.scl.runtime.generation.GenerateFunctions. * Do not edit manually! */ package org.simantics.scl.runtime.function; @SuppressWarnings("all") public class UnsaturatedFunction1 implements Function { private final Function f; private final Object p0; public UnsaturatedFunction1(Function f, Object p0) { this.f = f; this.p0 = p0; } @Override public Object apply(Object p1) { return f.apply(p0, p1); } @Override public Object apply(Object p1, Object p2) { return f.apply(p0, p1, p2); } @Override public Object apply(Object p1, Object p2, Object p3) { return f.apply(p0, p1, p2, p3); } @Override public Object apply(Object p1, Object p2, Object p3, Object p4) { return f.apply(p0, p1, p2, p3, p4); } @Override public Object apply(Object p1, Object p2, Object p3, Object p4, Object p5) { return f.apply(p0, p1, p2, p3, p4, p5); } @Override public Object apply(Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) { return f.apply(p0, p1, p2, p3, p4, p5, p6); } @Override public Object apply(Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) { return f.apply(p0, p1, p2, p3, p4, p5, p6, p7); } @Override public Object apply(Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) { return f.applyArray(p0, p1, p2, p3, p4, p5, p6, p7, p8); } @Override public Object applyArray(Object ... ps) { Object[] nps = new Object[ps.length + 1]; nps[0] = p0; for(int i=0;i