Standard Libraries for "Intro to Programming in Java" by Robert Sedgewick and Kevin Wayne Usage: OS X / Linux ------------ % javac -classpath .:stdlib.jar MyProgram.java % java -classpath .:stdlib.jar MyProgram Windows ------- % javac -classpath .;stdlib.jar MyProgram.java % java -classpath .;stdlib.jar MyProgram // Try it with BouncingBall.java in this directory Contents: ========= See https://introcs.cs.princeton.edu/java/stdlib/ StdDraw.java draw geometric shapes in a window StdIn.java read numbers and text from standard input StdOut.java write numbers and text to standard output StdAudio.java create, play, and manipulate sound StdRandom.java generate random numbers StdStats.java compute statistics StdArrayIO.java read and write 1D and 2D arrays In.java read numbers and text from files and URLs Out.java write numbers and text to files Draw.java draw geometric shapes DrawListener.java support keyboard and mouse events in Draw Picture.java process color images GrayscalePicture.java process grayscale images Stopwatch.java measure running time (wall clock) StopwatchCPU.java measure running time (CPU) BinaryStdIn.java read bits from standard input BinaryStdOut.java write bits to standard output BinaryIn.java read bits from files and URLs BinaryOut.java write bits to files