import java.util.ArrayList; /** * Labstack functions. * @author cs416 * @version 1 */ public class LabStack { /** * Helper method to popN values from the Stack. * @param st Stack to pop from * @param n NUmber if items to pop from the Stack * @return ArrayList */ public static ArrayList popN(Stack st, int n) { throw new UnsupportedOperationException("TO BE IMPLEMENTED"); } /** * Helper method to pop all. * @param st Stack to pop all from * @return ArrayList */ public static ArrayList popAll(Stack st) { throw new UnsupportedOperationException("TO BE IMPLEMENTED"); } /** * Helper method to reverse an array using a Stack. * @param vals Array to reverse * @return int[] */ public static int[] reverse(int[] vals) { throw new UnsupportedOperationException("TO BE IMPLEMENTED"); } }