br.usp.iterador.plugin.bacia.average
Class AverageThread

java.lang.Object
  extended by br.usp.iterador.plugin.bacia.average.AverageThread
All Implemented Interfaces:
java.lang.Runnable

public class AverageThread
extends java.lang.Object
implements java.lang.Runnable

Runs to iterate over random initial conditions.

Author:
Guilherme Silveira

Constructor Summary
AverageThread(ShowAverageSamples frame, Application app, BasinController controller, Basin basin)
           
 
Method Summary
 void init()
          Starts the thread
 boolean isRunning()
          Is this thread still running
 void run()
           
 void stop()
          Signalizes this thread to stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AverageThread

public AverageThread(ShowAverageSamples frame,
                     Application app,
                     BasinController controller,
                     Basin basin)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

init

public void init()
Starts the thread


stop

public void stop()
Signalizes this thread to stop


isRunning

public boolean isRunning()
Is this thread still running

Returns:
true or false


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.