while (timeoutWaiters.size() > 0) {  java.lang.Object o = (java.lang.Object)timeoutWaiters.remove(0);
Iterator i = timeoutWaiters.iterator(); while (i.hasNext()) { java.lang.Object o = (java.lang.Object)i.next();
	public synchronized void setTimeFactor(double factor) {		if (paused) {			pausedFactor = factor;		} else {			long now = System.currentTimeMillis();			elapsedLemMs = getTimeMs(now);			startPeriodSystemMs = now;			LemTimeFactor = factor;			while (timeoutWaiters.size() > 0) {				/* Remove the first element from the list */				java.lang.Object o = (java.lang.Object)timeoutWaiters.remove(0);				synchronized (o) {					o.notifyAll();				}			}		}	}