public class SimpleInterrupter extends Object implements Interrupter
| Constructor and Description |
|---|
SimpleInterrupter() |
public void setInterrupt(boolean flag)
InterrupterInterrupter.isInterrupted() should return this valuesetInterrupt in interface Interrupterflag - true if interrupt is requested false if notpublic boolean isInterrupted()
isInterrupted in interface Interruptertrue if interrupt was requested and false
otherwiseCopyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.