Unformatted text preview: push (e) and pop (), and implement the method min (). Note that the new class uses generics and should work on any subclass of Comparable . Here is a test program testMinStack that provides a test case. You should, however, test your program using a broader range of test cases. Pay particular attention to boundary conditions....
View Full Document
- Summer '10
- Subroutine, Minimum Value Stack, testMinStack, method min, new method min