CS1 Standard Demo Page

The following text was written to the standard output stream when the NumberList.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=46643:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/kedward8/IdeaProjects/CS1/out/production/CS1:/home/kedward8/Documents/SimplePainter.jar:/home/kedward8/Documents/SimpleComposer.jar:/home/kedward8/Documents/jfugue-4.0.3-with-musicxml.jar arrayplay.NumberList
>>> DISPLAY
11
22
33
44
55
66
77
88
99
9
8
7
6
5
4
3
2
1
>>> SWAP
1
2
>>> ADD
FIRST
34
>>> 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
>>> EXIT

Process finished with exit code 0