@SuppressWarnings("unchecked") @Override public R call(Object... args) { if (args.length != 7) { throw new RuntimeException("Func7 expecting 7 arguments."); } return f.call((T0) args[0], (T1) args[1], (T2) args[2], (T3) args[3], (T4) args[4], (T5) args[5], (T6) args[6]); }
@SuppressWarnings("unchecked") @Override public R call(Object... args) { if (args.length != 7) { throw new RuntimeException("Func7 expecting 7 arguments."); } return f.call((T0) args[0], (T1) args[1], (T2) args[2], (T3) args[3], (T4) args[4], (T5) args[5], (T6) args[6]); }
@SuppressWarnings("unchecked") @Override public R call(Object... args) { if (args.length != 7) { throw new RuntimeException("Func7 expecting 7 arguments."); } return f.call((T0) args[0], (T1) args[1], (T2) args[2], (T3) args[3], (T4) args[4], (T5) args[5], (T6) args[6]); }