The following text was written to the standard output stream when the StreamArrayListProcessing.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=35951:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath "/home/akyaw/IdeaProjects/CS1/out/production/CS1:/home/akyaw/Downloads/Programming lab 2/SimplePainter.jar:/home/akyaw/Downloads/Programming lab 2/SimpleComposer.jar:/home/akyaw/Downloads/Programming lab 2/jfugue-4.0.3-with-musicxml.jar" arraylistplay.StreamArrayListProcessing First names: Billie Camille Pablo Akseli Osvaldo Khant Zoro Luffy First names: Billie, Camille, Pablo, Akseli, Osvaldo, Khant, Zoro, Luffy Last names: Holiday, Claudel, Picasso, Gallen-Kallela, Zotton, Harry, Roronoa, Monkey-D Uppercase First Name: BILLIE, CAMILLE, PABLO, AKSELI, OSVALDO, KHANT, ZORO, LUFFY Hyphenated Last Name: Gallen-Kallela, Monkey-D Total length: 122 Total Length of the first names: 45 Product of the lengths: 882000