if (paused) { pausedFactor = factor; return; } else { long now = System.currentTimeMillis(); elapsedLemMs = getTimeMs(now); startPeriodSystemMs = now; LemTimeFactor = factor; }
long now = System.currentTimeMillis(); elapsedLemMs = getTimeMs(now); startPeriodSystemMs = now; LemTimeFactor = factor;
	public void setTimeFactor(double factor) {		LinkedList wakeList;		java.lang.Object o;		synchronized (this) {			if (paused) {				pausedFactor = factor;				return;			} else {				long now = System.currentTimeMillis();				elapsedLemMs = getTimeMs(now);				startPeriodSystemMs = now;				LemTimeFactor = factor;			}			wakeList = new LinkedList();			Iterator i = timeoutWaiters.iterator();			while (i.hasNext()) {				o = (java.lang.Object)i.next();				wakeList.add(o);			}		}		while (wakeList.size() > 0) {			o = (java.lang.Object)wakeList.remove(0);			synchronized (o) {				o.notifyAll();			}		}	}