Method isInterrupted()
Return type: boolean
Member of:
java.lang.Thread
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (Thread.currentThread().isInterrupted()) return count;
2
while(!isInterrupted()) {
3
if (Thread.currentThread().isInterrupted()) {
4
if (!importThread.isInterrupted())
5
if (!exportThread.isInterrupted())
6
if (Thread.currentThread().isInterrupted())
7
if (Thread.currentThread().isInterrupted())
8
if( currentThread.isInterrupted() )
9
if (isInterrupted())
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.