/** * Run a privileged action with this authentication context associated for the duration of the task. * * @param parameter1 the first parameter to pass to the action * @param parameter2 the second parameter to pass to the action * @param action the action to run * @param <T> the action first parameter type */ public <T> void runAsObjIntConsumer(ObjIntConsumer<T> action, T parameter1, int parameter2) { runBiConsumer(action::accept, parameter1, parameter2); }
/** * Run a privileged action with this authentication context associated for the duration of the task. * * @param parameter1 the first parameter to pass to the action * @param parameter2 the second parameter to pass to the action * @param action the action to run * @param <T> the action first parameter type */ public <T> void runAsObjIntConsumer(ObjIntConsumer<T> action, T parameter1, int parameter2) { runBiConsumer(action::accept, parameter1, parameter2); }
/** * Run a privileged action with this authentication context associated for the duration of the task. * * @param parameter1 the first parameter to pass to the action * @param parameter2 the second parameter to pass to the action * @param action the action to run * @param <T> the action first parameter type */ public <T> void runAsObjIntConsumer(ObjIntConsumer<T> action, T parameter1, int parameter2) { runBiConsumer(action::accept, parameter1, parameter2); }
/** * Run a privileged action with this authentication context associated for the duration of the task. * * @param parameter1 the first parameter to pass to the action * @param parameter2 the second parameter to pass to the action * @param action the action to run * @param <T> the action first parameter type */ public <T> void runAsObjIntConsumer(ObjIntConsumer<T> action, T parameter1, int parameter2) { runBiConsumer(action::accept, parameter1, parameter2); }