/** * Returns the result of calling hasBeenHalted on <code>t</code>, * if it is an instance of HaltingThread otherwise it returns false. */ public static boolean hasBeenHalted(Thread t) { if (t instanceof HaltingThread) return ((HaltingThread)t).isHalted(); return false; }
/** * Returns the result of calling hasBeenHalted on <code>t</code>, * if it is an instance of HaltingThread otherwise it returns false. */ public static boolean hasBeenHalted(Thread t) { if (t instanceof HaltingThread) return ((HaltingThread)t).isHalted(); return false; }
/** * Returns the result of calling hasBeenHalted on <code>t</code>, * if it is an instance of HaltingThread otherwise it returns false. */ public static boolean hasBeenHalted(Thread t) { if (t instanceof HaltingThread) return ((HaltingThread)t).isHalted(); return false; }