Sunday, February 19, 2017

ISort

interface ISort<T extends Comparable<T>> {

  T[] sort(T[] seq)
  throws IllegalArgumentException;

  T[] sort(T[] seq, int from, int to)
  throws IndexOutOfBoundsException, IllegalArgumentException;
}