public <T, U, E extends Exception> int performToIntFunction(ExceptionToIntBiFunction<T, U, E> function, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { return function.apply(param1, param2); } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { return function.apply(param1, param2); } } }
default <R> ExceptionBiFunction<T, U, R, E> andThen(ExceptionLongFunction<R, E> after) { Assert.checkNotNullParam("after", after); return (t, u) -> after.apply(apply(t, u)); } }
default <R> ExceptionBiFunction<T, U, R, E> andThen(ExceptionIntFunction<R, E> after) { Assert.checkNotNullParam("after", after); return (t, u) -> after.apply(apply(t, u)); }
public <T, U, E extends Exception> int performToIntFunction(ExceptionToIntBiFunction<T, U, E> function, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { return function.apply(param1, param2); } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { return function.apply(param1, param2); } } }
public <T, U, E extends Exception> int performToIntFunction(ExceptionToIntBiFunction<T, U, E> function, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { return function.apply(param1, param2); } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { return function.apply(param1, param2); } } }
default <R> ExceptionBiFunction<T, U, R, E> andThen(ExceptionIntFunction<R, E> after) { Assert.checkNotNullParam("after", after); return (t, u) -> after.apply(apply(t, u)); }
default <R> ExceptionBiFunction<T, U, R, E> andThen(ExceptionLongFunction<R, E> after) { Assert.checkNotNullParam("after", after); return (t, u) -> after.apply(apply(t, u)); } }
default <R> ExceptionBiFunction<T, U, R, E> andThen(ExceptionLongFunction<R, E> after) { Assert.checkNotNullParam("after", after); return (t, u) -> after.apply(apply(t, u)); } }
default <R> ExceptionBiFunction<T, U, R, E> andThen(ExceptionIntFunction<R, E> after) { Assert.checkNotNullParam("after", after); return (t, u) -> after.apply(apply(t, u)); }