/** * Returns a <code>boolean</code> indicating whether the receiver has a * pending interrupt request (<code>true</code>) or not ( * <code>false</code>) * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#interrupt * @see Thread#interrupted */ public boolean isInterrupted() { if (threadPtr != 0) { return internalIsInterrupted(this); } return false; } private static native boolean internalIsInterrupted(Thread thread);
/** * Returns a <code>boolean</code> indicating whether the receiver has a * pending interrupt request (<code>true</code>) or not ( * <code>false</code>) * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#interrupt * @see Thread#interrupted */ public boolean isInterrupted() { if (threadPtr != 0) { return internalIsInterrupted(this); } return false; } private static native boolean internalIsInterrupted(Thread thread);
/** * Returns a <code>boolean</code> indicating whether the receiver has a * pending interrupt request (<code>true</code>) or not ( * <code>false</code>) * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#interrupt * @see Thread#interrupted */ public boolean isInterrupted() { if (threadPtr != 0) { return internalIsInterrupted(this); } return false; } private static native boolean internalIsInterrupted(Thread thread);
/** * Returns a <code>boolean</code> indicating whether the receiver has a * pending interrupt request (<code>true</code>) or not ( * <code>false</code>) * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#interrupt * @see Thread#interrupted */ public boolean isInterrupted() { if (threadPtr != 0) { return internalIsInterrupted(this); } return false; } private static native boolean internalIsInterrupted(Thread thread);
/** * Returns a <code>boolean</code> indicating whether the receiver has a * pending interrupt request (<code>true</code>) or not ( * <code>false</code>) * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#interrupt * @see Thread#interrupted */ public boolean isInterrupted() { if (threadPtr != 0) { return internalIsInterrupted(this); } return false; } private static native boolean internalIsInterrupted(Thread thread);
/** * Returns a <code>boolean</code> indicating whether the receiver has a * pending interrupt request (<code>true</code>) or not ( * <code>false</code>) * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#interrupt * @see Thread#interrupted */ public boolean isInterrupted() { if (threadPtr != 0) { return internalIsInterrupted(this); } return false; } private static native boolean internalIsInterrupted(Thread thread);
/** * Returns a <code>boolean</code> indicating whether the receiver has a * pending interrupt request (<code>true</code>) or not ( * <code>false</code>) * * @return a <code>boolean</code> indicating the interrupt status * @see Thread#interrupt * @see Thread#interrupted */ public boolean isInterrupted() { if (threadPtr != 0) { return internalIsInterrupted(this); } return false; } private static native boolean internalIsInterrupted(Thread thread);