public final void resume() { checkAccess();  Enumeration et = threads.elements(); while (et.hasMoreElements()) { Thread t = (Thread) et.nextElement(); t.resume(); }  Enumeration eg = groups.elements(); while (eg.hasMoreElements()) { ThreadGroup g = (ThreadGroup) et.nextElement(); g.resume(); }
public final synchronized void resume() { checkAccess(); if (groups == null) return; int i = threads.size(); while (--i >= 0) ((Thread) threads.get(i)).resume(); i = groups.size(); while (--i >= 0) ((ThreadGroup) groups.get(i)).resume();
	public final void resume() {		checkAccess();		Enumeration et = threads.elements();		while (et.hasMoreElements()) {			Thread t = (Thread) et.nextElement();			t.resume();		}		Enumeration eg = groups.elements();		while (eg.hasMoreElements()) {			ThreadGroup g = (ThreadGroup) et.nextElement();			g.resume();		}	}