CS1 Standard Demo Page

The following text was written to the standard output stream when the WordList.java 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=35397:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/dmorgia2/IdeaProjects/CS1/out/production/CS1:/home/dmorgia2/SimplePainter.jar:/home/dmorgia2/SimpleComposer.jar:/home/dmorgia2/jfugue-4.0.3-with-musicxml.jar arrayplay.WordList
>>> 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
>>> display
caps
jensen
willy
holtbeast
vrana
carly
garny
kempny
gudy
sammy
backy
ovi
oshbabe
kuzy
orly
>>> print first
caps
>>> print last
orly
>>> print 3
willy
>>> print 13
oshbabe
>>>  swap 5 11
>>> display
caps
jensen
willy
holtbeast
backy
carly
garny
kempny
gudy
sammy
vrana
ovi
oshbabe
kuzy
orly
>>> swap 1 15
>>> display
orly
jensen
willy
holtbeast
backy
carly
garny
kempny
gudy
sammy
vrana
ovi
oshbabe
kuzy
caps
>>> 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
>>> add first hags
>>> add last eller
>>> shownumbers
### Unrecognizable command: shownumbers
>>> display
hags
orly
jensen
willy
holtbeast
backy
carly
garny
kempny
gudy
sammy
vrana
ovi
oshbabe
kuzy
caps
eller
>>> exit

Process finished with exit code 0