T
- result type of found datapublic abstract class EntryInfoSearchThread<T>
extends java.lang.Thread
Modifier and Type | Class and Description |
---|---|
static class |
EntryInfoSearchThread.EntryChangedException
Any search can generate this exception for stop searching if entry changed.
|
Modifier and Type | Field and Description |
---|---|
protected SourceTextEntry |
currentlyProcessedEntry
Entry which processed currently.
|
Constructor and Description |
---|
EntryInfoSearchThread(EntryInfoThreadPane<T> pane,
SourceTextEntry entry)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkEntryChanged()
Throws exception if entry changed for stop processing.
|
protected boolean |
isEntryChanged()
Check if current entry was changed.
|
void |
run() |
protected abstract T |
search()
Implementation-dependent method for search info.
|
activeCount, checkAccess, clone, 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
protected final SourceTextEntry currentlyProcessedEntry
public EntryInfoSearchThread(EntryInfoThreadPane<T> pane, SourceTextEntry entry)
pane
- entry info paneentry
- current entryprotected boolean isEntryChanged()
protected void checkEntryChanged() throws EntryInfoSearchThread.EntryChangedException
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
protected abstract T search() throws EntryInfoSearchThread.EntryChangedException, java.lang.Exception
EntryInfoSearchThread.EntryChangedException
java.lang.Exception