01: package org.garret.bench; 02: 03: public abstract class Test implements Runnable { 04: boolean completed; 05: 06: public synchronized void done() { 07: completed = true; 08: notify(); 09: } 10: 11: public abstract String getName(); 12: }