CS1 Standard Demo Page

The following text was written to the standard output stream when the WordList.java.html program was executed from IntelliJ.

/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=41399:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/jchimbo/IdeaProjects/CS1/out/production/CS1:/home/jchimbo/Downloads/jfugue-4.0.3-with-musicxml.jar:/home/jchimbo/Downloads/SimpleComposer.jar:/home/jchimbo/Downloads/SimplePainter.jar arraylist.WordList
>>> Display
psychotic
cows
vein
partake
volatile
overjoyed
gain
leaf
evasive
loss
distance
savor
gold
icy
yawn
>>> add first first
>>> Dispaly
### Unrecognizable command: Dispaly
>>> display
first
psychotic
cows
vein
partake
volatile
overjoyed
gain
leaf
evasive
loss
distance
savor
gold
icy
yawn
>>> add last last
>>> display
first
psychotic
cows
vein
partake
volatile
overjoyed
gain
leaf
evasive
loss
distance
savor
gold
icy
yawn
last
>>> swap 1 3
>>> display
cows
psychotic
first
vein
partake
volatile
overjoyed
gain
leaf
evasive
loss
distance
savor
gold
icy
yawn
last
>>> help
HELP - display a menu of commands
DISPLAY - display the list of numbers
PRINT - print a number (FIRST;LAST;nth)
SWAP - exchange two elements (nth;mth)
ADD - add a number to the list (FIRST;LAST)
EXIT - terminate execution of the program
>>>