is Thread Interrupted - Android java.lang

Android examples for java.lang:Thread

Description

is Thread Interrupted

Demo Code


//package com.java2s;

public class Main {
    public static boolean isInterrupted() {
        return Thread.currentThread().isInterrupted();
    }/*ww w  .jav a  2 s . c  o  m*/
}

Related Tutorials