|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.sposh.dbg.engine.EngineThread
public class EngineThread
This is a useful wrapper class for JPDAThread that makes dealing with
a logic thread of a posh bot much easier.
| Constructor Summary | |
|---|---|
EngineThread(org.netbeans.api.debugger.jpda.JPDADebugger debugger,
org.netbeans.api.debugger.jpda.JPDAThread engineThread)
Create new engine thread container. |
|
| Method Summary | |
|---|---|
int |
compare(EngineThread o1,
EngineThread o2)
|
int |
compareTo(EngineThread other)
Compare threads using their names. |
boolean |
equals(Object obj)
|
org.netbeans.api.debugger.jpda.JPDADebugger |
getDebugger()
Debugger from which we got the engine thread. |
String |
getName()
Get name of the engine running in this thread. |
org.netbeans.api.debugger.jpda.This |
getThisVariable()
|
org.netbeans.api.debugger.jpda.JPDAThread |
getThread()
Get actuall debug thread the engine is using. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EngineThread(org.netbeans.api.debugger.jpda.JPDADebugger debugger,
org.netbeans.api.debugger.jpda.JPDAThread engineThread)
debugger - debugger the thread belongs toengineThread - thread the engine is using to evalute the plan.| Method Detail |
|---|
public final org.netbeans.api.debugger.jpda.JPDAThread getThread()
thread the engine is using.
public final org.netbeans.api.debugger.jpda.JPDADebugger getDebugger()
engine thread.
public final String getName()
JPDAThread
without suffix.
public org.netbeans.api.debugger.jpda.This getThisVariable()
throws com.sun.jdi.AbsentInformationException
com.sun.jdi.AbsentInformationExceptionpublic boolean equals(Object obj)
equals in interface Comparator<EngineThread>equals in class Objectpublic int hashCode()
hashCode in class Objectpublic int compareTo(EngineThread other)
compareTo in interface Comparable<EngineThread>other - Thread to compare to
public int compare(EngineThread o1,
EngineThread o2)
compare in interface Comparator<EngineThread>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||