Skip navigation links
A C G I M O P R S T 

A

addInput(String) - Method in class ConsoleProgram
Allows you to add an input to your inputs.
addObjectForClass(String, Object) - Static method in class ObjectTracker
This adds an object to be tracked for a given class name.
addOutput(String, String) - Method in class Autograder
Adds an output from the Interceptor to outputs
addTest(String, boolean, T, T, String) - Method in class Autograder
This adds a TestCase.
assertEqual(String, T, T, String, String) - Method in class Autograder
This will do a standard comparison between studentOutput and solutionOutput.
Autograder - Class in <Unnamed>
 
Autograder() - Constructor for class Autograder
Autograders contain the main logic for autograding and are used by Grader.java

C

clearOutput() - Method in class Autograder
This resets the current outputs.
clearOutput(String) - Method in class Autograder
Similar to the method above, however, instead of clearing out all output it will only clear output for a given classname.
ConsoleProgram - Class in <Unnamed>
 
ConsoleProgram() - Constructor for class ConsoleProgram
Setups a new Scanner for System.in and the inputs variable for storring inputs.

G

getObjectsForClass(String) - Static method in class ObjectTracker
This will retreive all class instances for a given class name.
getOriginal() - Method in class Autograder
Allows you to get the original output stream.
getOutput(String) - Method in class Autograder
Get a string of all the outputs for a given class name.
getOutputArrayList(String) - Method in class Autograder
Get an ArrayList of all outputs for a given class name.
Grader - Class in <Unnamed>
You can write autograded tests here.

Test format:
Grader() - Constructor for class Grader
 

I

Interceptor - Class in <Unnamed>
This class intercepts output destined for System.out so it can be tracked.
Interceptor(OutputStream, Autograder) - Constructor for class Interceptor
Setups up an interceptor for System.out

M

main(String[]) - Static method in class ConsoleProgram
ConsoleProgram can also be run as the main class.
main(String[]) - Static method in class Grader
 

O

ObjectTracker - Class in <Unnamed>
This class can be used to track other instances of classes.
ObjectTracker() - Constructor for class ObjectTracker
This is the main logic for ObjectTracker.

P

print() - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.print()
print(String) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.print(String s)
print(boolean) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.print(boolean x)
print(char) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.print(char x)
print(char[]) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.print(char[] x)
print(int) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.print(int x)
print(long) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.print(long x)
print(float) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.print(float x)
print(double) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.print(double x)
print(Object) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.print(Object o)
print(String) - Method in class Interceptor
This overrides System.out.print.
print(boolean) - Method in class Interceptor
This overrides System.out.print.
print(char) - Method in class Interceptor
This overrides System.out.print.
print(char[]) - Method in class Interceptor
This overrides System.out.print.
print(int) - Method in class Interceptor
This overrides System.out.print.
print(long) - Method in class Interceptor
This overrides System.out.print.
print(float) - Method in class Interceptor
This overrides System.out.print.
print(double) - Method in class Interceptor
This overrides System.out.print.
print(Object) - Method in class Interceptor
This overrides System.out.print.
printf(String, Object...) - Method in class Interceptor
This overrides System.out.printf
println() - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.println()
println(String) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.println(String s)
println(boolean) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.println(boolean x)
println(char) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.println(char x)
println(char[]) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.println(char[] x)
println(int) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.println(int x)
println(long) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.println(long x)
println(float) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.println(float x)
println(double) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.println(double x)
println(Object) - Method in class ConsoleProgram
Allows us to use a shorthand version for System.out.println(Object o)
println(String) - Method in class Interceptor
This overrides System.out.println.
println() - Method in class Interceptor
This overrides System.out.println.
println(boolean) - Method in class Interceptor
This overrides System.out.println.
println(char) - Method in class Interceptor
This overrides System.out.println.
println(char[]) - Method in class Interceptor
This overrides System.out.println.
println(int) - Method in class Interceptor
This overrides System.out.println.
println(long) - Method in class Interceptor
This overrides System.out.println.
println(float) - Method in class Interceptor
This overrides System.out.println.
println(double) - Method in class Interceptor
This overrides System.out.println.
println(Object) - Method in class Interceptor
This overrides System.out.println.
printObjectTracker() - Static method in class ObjectTracker
This will print out the names of all classes currently being tracked as well as the class instances that are being tracked for those classes.

R

readBoolean(String) - Method in class ConsoleProgram
Allow the user to get a boolean.
readDouble(String) - Method in class ConsoleProgram
Allow the user to get a double.
readInt(String) - Method in class ConsoleProgram
Allow the user to get an integer.
readLine(String) - Method in class ConsoleProgram
This is a dual purpose function.
run() - Method in class ConsoleProgram
This is a run method for the class.

S

setInputs(String[]) - Method in class ConsoleProgram
Allows you to set all inputs at once as strings.

T

toString() - Method in class Autograder
Used for printing the output of all test results.
A C G I M O P R S T 
Skip navigation links