In addition to correctness, solutions will be graded for style:
/* * Course: CS 2852 * Term: Spring 2014 * Assignment: assignment name * Author: your name * Date: date started */
public void printResults(String[] items, int first, int last, String key);
static final int BUFFER_SIZE = 50; double[] toProcess = new double[BUFFER_SIZE];Except in rare circumstances, do not use named constants in test code. Named constants in tests just creates maintenance problems.
You can fix most formatting issues by doing the following in Intellij: