/* An instance of an implementing class can sort the elements in a ** given array (or segment thereof). */ public interface ArraySorter { // Rearranges the elements of a[0..a.length) into ascending order. public void sort(T[] a); // sorts a[low..high-1] // Rearranges the elements of a[low..high) into ascending order. public void sort(T[] a, int low, int high); }