A C D E F G H I M N P S U

A

a - Variable in class DriverHelper
 
addCommand(String, String) - Method in class Args
Creates a given command and associates it with the help message.
Args - class Args.
Args class for managing command line arguments.
Args(String, String[]) - Constructor for class Args
Sole Constructor.

C

consumeFlaggedArgument(String) - Method in class Args
Consumes a flag.
consumeUnflaggedArgument(String) - Method in class Args
Consumes an unflagged argument.
curSize - Variable in class DynamicStack
 

D

Debug - class Debug.
Debug control class globally available to an application that wishes to conditionally generate helpful debugging messages.
Debug() - Constructor for class Debug
Sole constructor.
defineArguments() - Method in class DriverHelper
 
defineBasicArguments() - Method in class DriverHelper
 
Driver - class Driver.
Driver main module.
Driver() - Constructor for class Driver
 
DriverHelper - class DriverHelper.
Helper module.
DriverHelper(String) - Constructor for class DriverHelper
 
DynamicStack - class DynamicStack.
DynamicStacks of ints can store a potentially unbounded # of integers.
DynamicStack() - Constructor for class DynamicStack
Default constructor with initial stack size set to defaultInitialSize
DynamicStack(int) - Constructor for class DynamicStack
Constructor.

E

exit(int) - Method in class DriverHelper
 
exit(int, String) - Method in class DriverHelper
 
expectUnflaggedArguments(String) - Method in class Args
Allows for arguments without "-"'s

F

FancyDriver - class FancyDriver.
 
FancyDriver() - Constructor for class FancyDriver
 
FixedStack - class FixedStack.
 
FixedStack(int) - Constructor for class FixedStack
Constructor.
flags - Variable in class Args
 

G

getNonFlaggedArguments() - Method in class Args
Fetches all non flagged arguments.
getRemainingCommandLineArguments() - Method in class Args
Computes how many command line arguments remain for parsing.
go(String[]) - Method in class DriverHelper
 

H

help() - Method in class Args
Displays a help message to the console.
help(String) - Method in class Args
Displays a prefixed help message to the console.
helpMessages - Variable in class Args
 

I

IntStack - interface IntStack.
Basic interface for a stack of integers.
isFlagPresent(String) - Method in class Args
Checks if a given flag is present in the command line.

M

main(String[]) - Static method in class Driver
Main routine.
main(String[]) - Static method in class FancyDriver
 
makeStack() - Method in class DriverHelper
 
msg(int, Object) - Static method in class Debug
Displays a debug message (or more geneally object) of the specified importance.

N

nFree - Variable in class DynamicStack
 

P

parseCommandLine() - Method in class Args
Parses any unparsed command line arguments.
pop() - Method in class DynamicStack
 
pop() - Method in class FixedStack
Print msg if stack is empty (underflow)
pop() - Method in interface IntStack
Pops the topmost item from the stack.
popMany(int) - Method in class DriverHelper
 
process() - Method in class DriverHelper
 
push(int) - Method in class DynamicStack
Should never overflow unless you need to buy more memory.
push(int) - Method in class FixedStack
Print msg if stack is full (overflow)
push(int) - Method in interface IntStack
Pushes an item onto the stack.
pushMany(String[]) - Method in class DriverHelper
 

S

setDebugLevel(int) - Static method in class Debug
Change the current debug level.
shiftCommandLine() - Method in class Args
Left shifts the given command line, dropping the first argument into oblivion.
showUsage() - Method in class Args
Displays invocation template.
stack - Variable in class DriverHelper
 

U

unflaggedArgs - Variable in class Args
 

A C D E F G H I M N P S U