public Statement with(Statement callback) { if (next != null) { next.with(callback); } else { next = callback; } return this; }
public Statement with(final Runnable runnable) { return with(new Statement() { @Override protected void run() throws Throwable { runnable.run(); } }); }
public Statement with(final Callable<?> callable) { return with(new Statement() { @Override protected void run() throws Throwable { callable.call(); } }); }
public Statement with(final Callable<?> callable) { return with(new Statement() { @Override protected void run() throws Throwable { callable.call(); } }); }
public Statement with(final Runnable runnable) { return with(new Statement() { @Override protected void run() throws Throwable { runnable.run(); } }); }
public Statement with(Statement callback) { if (next != null) { next.with(callback); } else { next = callback; } return this; }
public Statement with(final Callable<?> callable) { return with(new Statement() { @Override protected void run() throws Throwable { callable.call(); } }); }
public Statement with(final Runnable runnable) { return with(new Statement() { @Override protected void run() throws Throwable { runnable.run(); } }); }
public Statement with(final Callable<?> callable) { return with(new Statement() { @Override protected void run() throws Throwable { callable.call(); } }); }
public Statement with(final Runnable runnable) { return with(new Statement() { @Override protected void run() throws Throwable { runnable.run(); } }); }
public Statement with(Statement callback) { if (next != null) { next.with(callback); } else { next = callback; } return this; }
public Statement with(Statement callback) { if (next != null) { next.with(callback); } else { next = callback; } return this; }