package cse1030.test3; import java.util.List; /** * A utility class providing methods that process lists of integers. * * @author CSE1030_F13_14 * */ public class IntegerLists { /** * Returns the minimum integer in a non-empty list. * * @pre. t.size() > 0 * @param t a list of Integer * @return the minimum integer in the list */ public static Integer minimum(List t) { return 0; } /** * Returns the index of the first occurrence of the specified integer in * a list of Integer, or -1 if the list does not contain the integer. * * @param i the integer to search for * @param t the list to search * @return the index of the first occurrence of i if i * is in the list, -1 otherwise */ public static int indexOf(Integer i, List t) { return 0; } /** * Sorts a list of integer by recursively moving the smallest element of * the list to the front of the list. * * @param t the list to sort */ public static void sort(List t) { } }