Thread.interrupted

Thread.interrupted

Class Overview | Class Members | This Package | All Packages

Syntax
public static boolean interrupted()
Returns
true if the current thread has been interrupted; false otherwise.
Description
Tests if the current thread has been interrupted. Note that interrupted is a static method, while isInterrupted is called on the current Thread instance.

See Also
isInterrupted