Possible to terminate a class?
<p>I've got a program which runs multiple classes. I'd like a class to stop executing if a condition is true and NOT execute the rest of the code without killing the other classes. This class runs on it's own thread. is this do-able?</p>

<pre><code> class A{
    private void method{
           if(condition == true){
             //terminate class
            }
    }
}
</code></pre>
