C D E F H I L M P R S T

C

close() - Method in class chn.util.FileInput
Close the input file.
close() - Method in class chn.util.FileOutput
Close the input file.
ConsoleIO - class chn.util.ConsoleIO.
 
ConsoleIO() - Constructor for class chn.util.ConsoleIO
Constructs the ConsoleIO object with default delimiters, space, tab, formfeed.
ConsoleIO(String) - Constructor for class chn.util.ConsoleIO
Constructs the ConsoleIO object with given delimiters.
cumulativeTime() - Method in class chn.util.SysTimer
 

D

delimiters - Variable in class chn.util.SimpleIO
 

E

elapsedTime() - Method in class chn.util.SysTimer
precondition: stopwatch is not running

F

FileInput - class chn.util.FileInput.
 
FileInput(String) - Constructor for class chn.util.FileInput
Constructs the FileInput object with for the given file.
FileInput(String, String) - Constructor for class chn.util.FileInput
Constructs the FileInput object with for the given file.
FileOutput - class chn.util.FileOutput.
 
FileOutput(String) - Constructor for class chn.util.FileOutput
Opens the given file for writing.
FileOutput(String, String) - Constructor for class chn.util.FileOutput
If mode = "append" then this constructor opens the given file so that calls to print methods will append information to any existing information in the file.

H

hasMoreLines() - Method in class chn.util.FileInput
 
hasMoreTokens() - Method in class chn.util.FileInput
Reads ahead to verify whether there are more tokens to be read.

I

in - Variable in class chn.util.SimpleIO
 
isRunning() - Method in class chn.util.SysTimer
 

L

lapTime() - Method in class chn.util.SysTimer
 

M

main(String[]) - Static method in class chn.util.SysTimer
tests functionality of the methods

P

print(boolean) - Method in class chn.util.FileOutput
print the boolean to the file
print(char) - Method in class chn.util.FileOutput
print the character to the file
print(double) - Method in class chn.util.FileOutput
print the double to the file
print(int) - Method in class chn.util.FileOutput
print the integer to the file
print(String) - Method in class chn.util.FileOutput
print the String to the file
println() - Method in class chn.util.FileOutput
print a newline to the file
println(boolean) - Method in class chn.util.FileOutput
print the boolean to the file, followed by a newline
println(char) - Method in class chn.util.FileOutput
print the character to the file, followed by a newline
println(double) - Method in class chn.util.FileOutput
print the double to the file, followed by a newline
println(int) - Method in class chn.util.FileOutput
print the integer to the file, followed by a newline
println(String) - Method in class chn.util.FileOutput
print the String to the file, followed by a newline
promptDblRange(String, double, double) - Method in class chn.util.ConsoleIO
Flushes any remaining tokens on the current input line, then prompts the user with the given prompt parameter.
promptDouble(String) - Method in class chn.util.ConsoleIO
Flushes any remaining tokens on the current input line, then prompts the user with the given prompt parameter.
promptInt(String) - Method in class chn.util.ConsoleIO
Flushes any remaining tokens on the current input line, then prompts the user with the given prompt parameter.
promptIntRange(String, int, int) - Method in class chn.util.ConsoleIO
Flushes any remaining tokens on the current input line, then prompts the user with the given prompt parameter.
promptLine(String) - Method in class chn.util.ConsoleIO
Flushes any remaining tokens on the current input line, then prompts the user with the given prompt parameter.
promptToken(String) - Method in class chn.util.ConsoleIO
Flushes any remaining tokens on the current input line, then prompts the user with the given prompt parameter.

R

readBoolean() - Method in class chn.util.SimpleIO
Reads and returns the next boolean from the current line.
readDouble() - Method in class chn.util.ConsoleIO
Reads and returns the next double from the current line.
readDouble() - Method in class chn.util.SimpleIO
Reads and returns the next double from the current line.
readInt() - Method in class chn.util.ConsoleIO
Reads and returns the next integer from the current line.
readInt() - Method in class chn.util.SimpleIO
Reads and returns the next integer from the current line.
readLine() - Method in class chn.util.FileInput
Flushes any remaining tokens on the current input line, then reads the next full line input as a String and returns it (including an empty line).
readLine() - Method in class chn.util.SimpleIO
Flushes any remaining tokens on the current input line, then reads the next full line input as a String and returns it.
readToken() - Method in class chn.util.FileInput
Reads and returns the next token from the current line.
readToken() - Method in class chn.util.SimpleIO
Reads and returns the next token from the current line.
reset() - Method in class chn.util.SysTimer
Resets the stopwatch.

S

SimpleIO - class chn.util.SimpleIO.
 
SimpleIO() - Constructor for class chn.util.SimpleIO
Constructs the SimpleIO object with default delimiters, space, tab, formfeed.
SimpleIO(String) - Constructor for class chn.util.SimpleIO
Constructs the ConsoleIO object with given delimiters.
start() - Method in class chn.util.SysTimer
Starts the stopwatch.
stop() - Method in class chn.util.SysTimer
Stops the stopwatch and sets elapsed time to be the time since the stopwatch was last started or reset.
SysTimer - class chn.util.SysTimer.
 
SysTimer() - Constructor for class chn.util.SysTimer
Initializes state.

T

tokens - Variable in class chn.util.SimpleIO
 

C D E F H I L M P R S T