Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort() - Method in interface util.Executable
-
Abort the execution.
- abort() - Method in class util.Executor
-
Stop the execution.
- abort() - Method in class util.ObjExecutor
-
Abort the execution.
- aborted - Variable in class util.Executor
-
whether the object/program has been stopped
- ABORTED - Static variable in class util.Executor
-
the object/program was aborted
- add(Object) - Method in class util.IdMap
-
Add a key to an identifier map.
- add(Object, Object) - Method in class util.IdMap
-
Add a key/value pair to an identifier map.
- Arrays - Class in util
-
Class for some extended array utility functions.
- Arrays() - Constructor for class util.Arrays
-
Create an arrays object (dummy).
- Arrays.CompareTo2 - Interface in util
-
Interface for extended
compareTo
function. - ASCIICoder - Class in util
-
Class for encoding and decoding strings with ASCII escape sequences
- ASCIICoder() - Constructor for class util.ASCIICoder
-
Create an ASCII coder (dummy).
B
- bins - Variable in class util.IdMap
-
the array of hash bins
- BLANK - Static variable in class util.TableReader
-
class/type flag: blank character
- BLKSIZE - Static variable in class util.IdMap
-
the block size for the inverse map array
C
- clear() - Method in class util.IdMap
-
Clear the identifier map, that is, remove all keys/values.
- clone() - Method in class util.IdMap
-
Clone this identifier map.
- close() - Method in class util.Scanner
-
Close the scanner by closing the underlying reader.
- close() - Method in class util.TableReader
-
Close the underlying stream.
- close() - Method in class util.TableWriter
-
Close the underlying stream.
- CmdExecutor - Class in util
-
Class for executing an external program as a process.
- CmdExecutor(String[], ActionListener) - Constructor for class util.CmdExecutor
-
Create a command executor.
- cmp - Variable in class util.IdMap
-
the comparator for sorting the map
- codes - Static variable in class util.TableReader
-
the codes of the character classes
- COMMENT - Static variable in class util.TableReader
-
class/type flag: comment character
- compare(Object, Object) - Method in class util.IdMap
-
Compare two identifier map elements.
- compareTo(Object, Object) - Method in interface util.Arrays.CompareTo2
-
Compare two objects, possibly using additional data.
D
- decode(String) - Static method in class util.ASCIICoder
-
Decode ASCII escape sequences in a string.
- delim - Variable in class util.TableReader
-
the last delimiter read: -1 if end of file/input, 0 if field separator, 1 if record separator
E
- encode(String) - Static method in class util.ASCIICoder
-
Encode a string using ASCII escape sequences.
- exec() - Method in interface util.Executable
-
Execute the object.
- Executable - Interface in util
-
Interface for an executable object.
- Executor - Class in util
-
Abstract class for thread/process execution.
- Executor() - Constructor for class util.Executor
-
Create an executor.
- exitValue() - Method in class util.CmdExecutor
-
Get the exit value of the executed command.
F
- FAILED - Static variable in class util.Executor
-
the object/program could not be invoked or failed
- field - Variable in class util.TableReader
-
the next table field
- FLDSEP - Static variable in class util.TableReader
-
class/type flag: field separator
- format(String, boolean) - Static method in class util.Scanner
-
Format a string so that it can be read as a token.
G
- get(int) - Method in class util.IdMap
-
Look up the key associated with an identifier.
- get(Object) - Method in class util.IdMap
-
Look up the identifier associated with a key.
- getChar(char) - Method in class util.Scanner
-
Get the next token and compare it to an expected character.
- getCommand() - Method in class util.CmdExecutor
-
Get the command to execute as a process.
- getErrorData() - Method in class util.CmdExecutor
-
Get the error stream data of the process.
- getId(Object) - Method in class util.IdMap
-
Look up the identifier associated with a key.
- getID() - Method in class util.Scanner
-
Get the next token and check whether it is an identifier.
- getID(String) - Method in class util.Scanner
-
Get the next token and compare it to an expected identifier.
- getKey(int) - Method in class util.IdMap
-
Look up the key associated with an identifier.
- getLastErrorLine() - Method in class util.CmdExecutor
-
Get the last line of the error stream data of the process.
- getLastOutputLine() - Method in class util.CmdExecutor
-
Get the last line of the output stream data of the process.
- getMapFrom(IdMap) - Method in class util.IdMap
-
Get identifier mapping from another identifier map.
- getMapTo(IdMap) - Method in class util.IdMap
-
Get identifier mapping to another identifier map.
- getMessage() - Method in class util.Executor
-
Get the status message of the thread/process invocation.
- getNumber() - Method in class util.Scanner
-
Get the next token and check whether it is an number.
- getObject() - Method in class util.ObjExecutor
-
Get the object to execute as a thread.
- getOutputData() - Method in class util.CmdExecutor
-
Get the output stream data of the process.
- getSize() - Method in class util.IdMap
-
Get the number of mappings in an identifier map.
- getStatus() - Method in class util.Executor
-
Get the status of the thread/process invocation.
- getTypes(char) - Method in class util.TableReader
-
Get the classes/types of a given character.
- getValue(int) - Method in class util.IdMap
-
Look up the value associated with an identifier.
- getValue(Object) - Method in class util.IdMap
-
Look up the value associated with a key.
H
I
- IDLE - Static variable in class util.Executor
-
the runner is idle (no object/program started)
- IdMap - Class in util
-
Class to manage identifier maps.
- IdMap() - Constructor for class util.IdMap
-
Create an identifier map.
- IdMap(int) - Constructor for class util.IdMap
-
Create an identifier map.
- IdMap(int, int) - Constructor for class util.IdMap
-
Create an identifier map.
- IdMap(int, int, float) - Constructor for class util.IdMap
-
Create an identifier map.
- imap - Variable in class util.IdMap
-
the inverse map (identifier to key)
- INTERRUPTED - Static variable in class util.Executor
-
the program was externally interrupted
- isType(int, char) - Method in class util.TableReader
-
Check whether a given character is in a given class or of a given type.
L
- line - Variable in class util.Scanner
-
current line number (determined by counting newline characters)
- listener - Variable in class util.Executor
-
the listener to be notified on termination or failure
- lno() - Method in class util.Scanner
-
Get a string stating the current line number.
- load - Variable in class util.IdMap
-
the maximum load factor
M
- main(String[]) - Static method in class util.ASCIICoder
-
Main function for testing basic functionality.
- main(String[]) - Static method in class util.Scanner
-
Main function for testing basic functionality.
- main(String[]) - Static method in class util.TableReader
-
Main function for testing basic functionality.
- max - Variable in class util.IdMap
-
the maximum number of elements
- message - Variable in class util.Executor
-
the status message of the object/program invocation
- mode - Variable in class util.IdMap
-
the mode for reacting to adding an existing key to the map
- move(int, int) - Method in class util.IdMap
-
Move a key in the identifier map.
N
- nextField() - Method in class util.TableReader
-
Get the next field/cell of the table.
- nextToken() - Method in class util.Scanner
-
Get the next token of the input stream or the string.
- nlToken(boolean) - Method in class util.Scanner
-
Set whether the newline character should be treated as a token or not.
- NULL - Static variable in class util.TableReader
-
class/type flag: null value character
O
- ObjExecutor - Class in util
-
Class for executing an object as a thread.
- ObjExecutor(Executable, ActionListener) - Constructor for class util.ObjExecutor
-
Create an object executor.
- OK - Static variable in class util.Executor
-
the object/program terminated normally
- OTHER - Static variable in class util.TableReader
-
class/type flag: other character type
P
- pushBack() - Method in class util.Scanner
-
Push back the last token into the input.
R
- record - Variable in class util.TableReader
-
the current record number
- RECSEP - Static variable in class util.TableReader
-
class/type flag: record separator
- rehash() - Method in class util.IdMap
-
Enlarge the hash bin array and rehash the map elements.
- REJECT - Static variable in class util.IdMap
-
when adding an existing key: reject key (return negative id)
- remove(boolean[]) - Method in class util.IdMap
-
Remove several key/value pair from an identifier map.
- remove(int) - Method in class util.IdMap
-
Remove a key/value pair from an identifier map.
- remove(int[]) - Method in class util.IdMap
-
Remove several key/value pair from an identifier map.
- remove(Object) - Method in class util.IdMap
-
Remove a key/value pair from an identifier map.
- remove(IdMapElem) - Method in class util.IdMap
-
Remove an identifier map element.
- reorder(int[]) - Method in class util.IdMap
-
Reorder an identifier map.
- replace(int, Object) - Method in class util.IdMap
-
Replace a key in an identifier map.
- REPLACE - Static variable in class util.IdMap
-
when adding an existing key: replace old associated value
- rno() - Method in class util.TableReader
-
Get a string stating the current record number.
- rno(int) - Method in class util.TableReader
-
Get a string stating the current record number.
- run() - Method in class util.CmdExecutor
-
Function for thread execution.
- run() - Method in class util.Executor
-
Function for thread execution.
- run() - Method in class util.ObjExecutor
-
Function for thread execution.
- RUNNING - Static variable in class util.Executor
-
the object/program is currently running
S
- Scanner - Class in util
-
Class for simple, fairly generic scanners (tokenizers).
- Scanner(InputStream) - Constructor for class util.Scanner
-
Create a scanner working on an input stream.
- Scanner(Reader) - Constructor for class util.Scanner
-
Create a scanner working on a reader.
- Scanner(String) - Constructor for class util.Scanner
-
Create a scanner working on a string.
- setBlank(int) - Method in class util.TableWriter
-
Set the blank character.
- setChars(int, String) - Method in class util.TableReader
-
Set the characters for a specific type/class.
- setChars(String) - Method in class util.TableWriter
-
Set all separator characters.
- setChars(String, String, String, String, String) - Method in class util.TableReader
-
Set the characters for all standard types.
- setCharsCoded(String) - Method in class util.TableWriter
-
Set all separator characters.
- setCharsCoded(String, String, String, String, String) - Method in class util.TableReader
-
Set the characters for all standard types.
- setFldSep(int) - Method in class util.TableWriter
-
Set the field separator.
- setNullChar(int) - Method in class util.TableWriter
-
Set the null value character.
- setRecSep(int) - Method in class util.TableWriter
-
Set the record separator.
- setValue(int, Object) - Method in class util.IdMap
-
Set the value associated with an identifier.
- setValue(Object, Object) - Method in class util.IdMap
-
Set the value associated with a key.
- size - Variable in class util.IdMap
-
the current number of elements
- size() - Method in class util.IdMap
-
Get the number of mappings in an identifier map.
- sort(Comparator<Object>) - Method in class util.IdMap
-
Reorder an identifier map.
- sort(Arrays.CompareTo2[], int, int, Object) - Static method in class util.Arrays
-
Sort an arbitrary array.
- sort(Arrays.CompareTo2[], Object) - Static method in class util.Arrays
-
Sort an arbitrary array.
- start() - Method in class util.Executor
-
Start the execution as a thread.
- status - Variable in class util.Executor
-
the status of the object/program invocation
T
- T_CMP - Static variable in class util.Scanner
-
token: two character comparison operator
- T_DASH - Static variable in class util.Scanner
-
token: dash '--'
- T_EOF - Static variable in class util.Scanner
-
token: end of file
- T_ID - Static variable in class util.Scanner
-
token: identifier or string
- T_LFT - Static variable in class util.Scanner
-
token: left arrow '<-'
- T_NUM - Static variable in class util.Scanner
-
token: number (floating point)
- T_RGT - Static variable in class util.Scanner
-
token: right arrow '->'
- TableReader - Class in util
-
Class for readers for files with tabular data.
- TableReader(File) - Constructor for class util.TableReader
-
Create a table reader with default character flags.
- TableReader(InputStream) - Constructor for class util.TableReader
-
Create a table reader with default character flags.
- TableReader(Reader) - Constructor for class util.TableReader
-
Create a table reader with default character flags.
- TableReader(String) - Constructor for class util.TableReader
-
Create a table reader with default character flags.
- TableWriter - Class in util
-
Class for writers for files with tabular data.
- TableWriter(OutputStream) - Constructor for class util.TableWriter
-
Create a table writer with default characters.
- TableWriter(Writer) - Constructor for class util.TableWriter
-
Create a table writer with default characters.
- ttype - Variable in class util.Scanner
-
current token type
U
- ungetToken() - Method in class util.Scanner
-
Push back the last token into the input.
- util - package util
V
W
- write(String) - Method in class util.TableWriter
-
Write a field.
- write(String, boolean) - Method in class util.TableWriter
-
Write a field.
- write(String, int) - Method in class util.TableWriter
-
Write a field.
- write(String, int, boolean) - Method in class util.TableWriter
-
Write a field.
- writeLast(String) - Method in class util.TableWriter
-
Write the last field of a record.
- writeLast(String, int) - Method in class util.TableWriter
-
Write the last field of a record.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form