Skip navigation links
A D F G M O P R S T W 

A

AssignX - Class in <Unnamed>
This class provides code for testing the classes MyXXX.java that you will complete.
AssignX() - Constructor for class AssignX
 

D

debug - Static variable in class Shell
Any non-zero value turns debugging on
debug(String, Object...) - Static method in class Shell
Print a message if the debug value is non-zero.
divides(int, int) - Method in class AssignX
Determine if the denominator evenly divides the numerator.

F

filter(String) - Method in class Shell
Filter input for some special cases.
findMultiples(int[], int) - Method in class AssignX
Find all elements of the list that are evenly divisible by the denominator
format(String, Object...) - Static method in class Shell
An "extension" of String.format() to automatically convert arrays to Strings using the Arrays.toString() methods.

G

getIntArray(Scanner) - Method in class Shell
Get an array of int separated by commas from the scanner.
getRandom() - Static method in class Shell
Get the shells random number generator.
getStrArray(Scanner) - Method in class Shell
Get an array of String separated by commas from the scanner.
getStringOrNull(Scanner) - Method in class Shell
Retrieve a String from the scanner, filtering it for convenience.

M

main(String[]) - Static method in class MyAssignX
 
main(String[]) - Static method in class Shell
Entry point to shell.
merge(int[], int[]) - Method in class AssignX
Merge two sorted lists to produce a sorted list containing all the values from both lists.
MyAssignX - Class in <Unnamed>
This class contains code that you will complete.
MyAssignX() - Constructor for class MyAssignX
 

O

ooMain(String[]) - Method in class Shell
Provide a main() like method that can be inherited and/or overridden.

P

processCmdsFromFile(String) - Method in class Shell
Process commands from a file.
processCommands(Scanner) - Method in class Shell
Command interpreter to test code.
processCommands() - Method in class Shell
Process commands from System.in.
processOneCommand(String, String) - Method in class AssignX
Process one command for this assignment.
processOneCommand(String, String) - Method in class Shell
Process one command.

R

random - Static variable in class Shell
Random number generator
rest(Scanner) - Method in class Shell
Retrieve a String from the scanner using nextLine(), to get everything else in the line and filter it for special values.

S

serialVersionUID - Static variable in exception Shell.StopProcessing
 
Shell - Class in <Unnamed>
This is a base class for several assignments you will write.
Shell() - Constructor for class Shell
 
Shell.StopProcessing - Exception in <Unnamed>
A class to help end processing that is only used internally by Shell.
showHelp() - Method in class AssignX
Display a list of commands useful for testing the classes you will complete for this assignment.
showHelp() - Method in class Shell
Display a brief help summary for commands implemented by this class
StopProcessing(String) - Constructor for exception Shell.StopProcessing
 
strArrayToIntArray(String[]) - Method in class Shell
Convert an array of String to an array of int.

T

trio(String[]) - Method in class AssignX
Given a list of names, print out all combinations of the names taken three at a time.

W

wordCount(String) - Method in class AssignX
Count the number of words and the number of lines in a file.
A D F G M O P R S T W 
Skip navigation links