/** * Start this watchable and run for the given amount of time, or until * finished or stopped. * * @param millis the number of milliseconds to run for */ public synchronized void go(long millis) { gate = new Gate(); gate.setStopTime(millis); execute(false); }
/** * Start this watchable and run for the given amount of time, or until * finished or stopped. * * @param millis the number of milliseconds to run for */ public synchronized void go(long millis) { gate = new Gate(); gate.setStopTime(millis); execute(false); }
/** * Start this watchable and run for the given number of steps or until * finished or stopped. * * @param steps the number of steps to run for */ public synchronized void go(int steps) { gate = new Gate(); gate.setStopIterations(steps); execute(false); }
/** * Start this watchable and run for the given number of steps or until * finished or stopped. * * @param steps the number of steps to run for */ public synchronized void go(int steps) { gate = new Gate(); gate.setStopIterations(steps); execute(false); }
/** * Start this watchable and run for the given number of steps or until * finished or stopped. * * @param steps the number of steps to run for */ public synchronized void go(int steps) { gate = new Gate(); gate.setStopIterations(steps); execute(false); }
/** * Start this watchable and run for the given amount of time, or until * finished or stopped. * * @param millis the number of milliseconds to run for */ public synchronized void go(long millis) { gate = new Gate(); gate.setStopTime(millis); execute(false); }