com.singularsys.aa
Class SolverThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.singularsys.aa.SolverThread
All Implemented Interfaces:
java.lang.Runnable

public class SolverThread
extends java.lang.Thread

A thread class that solves an equation system.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SolverThread(java.lang.String str, SolverListener listener_in, java.lang.String eqText_in, int threadIndex_in)
          Constructor.
 
Method Summary
 LogWriter getLogWriter()
          Returns the logWriter instance
 int getThreadIndex()
          Returns the index number for this thread.
 void run()
          Starts the solving process in a separate thread.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SolverThread

public SolverThread(java.lang.String str,
                    SolverListener listener_in,
                    java.lang.String eqText_in,
                    int threadIndex_in)
Constructor.

Method Detail

run

public void run()
Starts the solving process in a separate thread.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

getThreadIndex

public int getThreadIndex()
Returns the index number for this thread.


getLogWriter

public LogWriter getLogWriter()
Returns the logWriter instance