CS1 Standard Demo Page

The following text was written to the standard output stream when the WordList.java(arraylist) 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=40457:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/dmitche7/IdeaProjects/CS1/out/production/CS1:/home/dmitche7/Desktop/SimplePainter.jar:/home/dmitche7/Desktop/SimpleComposer.jar:/home/dmitche7/Desktop/jfugue-4.0.3-with-musicxml.jar arraylist.WordList
        nThe original list of word ...
        Red
        Orange
        Yellow
        Green
        Blue
        Purple
        Circle
        Triangle
        Square
        Rectangle
        >>> display
        Red
        Orange
        Yellow
        Green
        Blue
        Purple
        Circle
        Triangle
        Square
        Rectangle
        >>> print 7
        Circle
        >>> swap 1 2
        >>> display
        Orange
        Red
        Yellow
        Green
        Blue
        Purple
        Circle
        Triangle
        Square
        Rectangle
        >>> add last
        parallelagram
        >>> display
        Orange
        Red
        Yellow
        Green
        Blue
        Purple
        Circle
        Triangle
        Square
        Rectangle
        parallelagram
        >>> help
        HELP - display a menu of commands
        DISPLAY - display the list of numbers
        PRINT - print a word (FIRST;LAST;nth)
        SWAP - exchange two elements (nth;mth)
        ADD - add a word to the list (FIRST;LAST)
        EXIT - terminate execution of the program
        >>> exit