/** * Returns a <code>boolean</code> indicating whether the current Thread ( * <code>currentThread()</code>) has a pending interrupt request (<code> * true</code>) or not (<code>false</code>). It also has the side-effect of * clearing the flag. * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#currentThread * @see Thread#interrupt * @see Thread#isInterrupted */ public static boolean interrupted() { return internalInterrupted(); } private static native boolean internalInterrupted();
/** * Returns a <code>boolean</code> indicating whether the current Thread ( * <code>currentThread()</code>) has a pending interrupt request (<code> * true</code>) or not (<code>false</code>). It also has the side-effect of * clearing the flag. * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#currentThread * @see Thread#interrupt * @see Thread#isInterrupted */ public static boolean interrupted() { return internalInterrupted(); } private static native boolean internalInterrupted();
/** * Returns a <code>boolean</code> indicating whether the current Thread ( * <code>currentThread()</code>) has a pending interrupt request (<code> * true</code>) or not (<code>false</code>). It also has the side-effect of * clearing the flag. * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#currentThread * @see Thread#interrupt * @see Thread#isInterrupted */ public static boolean interrupted() { return internalInterrupted(); } private static native boolean internalInterrupted();
/** * Returns a <code>boolean</code> indicating whether the current Thread ( * <code>currentThread()</code>) has a pending interrupt request (<code> * true</code>) or not (<code>false</code>). It also has the side-effect of * clearing the flag. * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#currentThread * @see Thread#interrupt * @see Thread#isInterrupted */ public static boolean interrupted() { return internalInterrupted(); } private static native boolean internalInterrupted();
/** * Returns a <code>boolean</code> indicating whether the current Thread ( * <code>currentThread()</code>) has a pending interrupt request (<code> * true</code>) or not (<code>false</code>). It also has the side-effect of * clearing the flag. * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#currentThread * @see Thread#interrupt * @see Thread#isInterrupted */ public static boolean interrupted() { return internalInterrupted(); } private static native boolean internalInterrupted();
/** * Returns a <code>boolean</code> indicating whether the current Thread ( * <code>currentThread()</code>) has a pending interrupt request (<code> * true</code>) or not (<code>false</code>). It also has the side-effect of * clearing the flag. * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#currentThread * @see Thread#interrupt * @see Thread#isInterrupted */ public static boolean interrupted() { return internalInterrupted(); } private static native boolean internalInterrupted();
/** * Returns a <code>boolean</code> indicating whether the current Thread ( * <code>currentThread()</code>) has a pending interrupt request (<code> * true</code>) or not (<code>false</code>). It also has the side-effect of * clearing the flag. * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#currentThread * @see Thread#interrupt * @see Thread#isInterrupted */ public static boolean interrupted() { return internalInterrupted(); } private static native boolean internalInterrupted();