oscript.util |
|
Java Source File Name | Type | Comment |
CollectionIterator.java | Class | A wrapper for
Iterator which adds an
CollectionIterator.iterator method. |
ErrorHandler.java | Class | The ErrorHandler is used by the interpreter to handle
fatal, non-recoverable errors. |
InputStreamFile.java | Class | Converts an input-stream to abstract-file. |
MemberTable.java | Interface | A member table is a special array, with some special methods that don't
need to exist for regular script arrays:
- direct access to the Reference
- pushN() methods
Since the member table is used by scope and to pass args to a function/
constructor, performance is critical, which is the reason for some of these
methods. |
OpenHashSymbolTable.java | Class | A symbol table implementation based on a open hash map, using double
hashing as a strategy to avoid collisions. |
Primes.java | Class | |
ReaderInputStream.java | Class | Used to convert Reader -> InputStream... |
ResourceResolver.java | Class | Sort of a hack to deal with eclipse, which needs to call some
eclipse core APIs to convert a plugin URL to a native URL. |
StackFrame.java | Class | The "chain" of stack frames is used to track execution context of a
particular thread and, when debugging is enabled, give the debugger a
chance to run breakpoints.
Where possible, the head of the chain of stack frames is passed on the
stack, but in cases where it cannot be, such as when control passes to
java code and back, a hashtable is used to map the current thread to
a StackFrame . |
SwingErrorHandler.java | Class | An implementation of
ErrorHandler that uses swing to display
an error dialog. |
SymbolMap.java | Class | This utility class provides a more Hashtable-like interface to
SymbolTable , which normally maps a symbol to a table index. |
SymbolTable.java | Interface | This defines the interface for a table that maps a symbol (integer id) to
an array index. |
TableBench.java | Class | |
WorkerThread.java | Class | A common minimum priority worker thread for all background tasks. |