This preview shows page 1. Sign up to view the full content.
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
This note was uploaded on 10/28/2010 for the course CSE 2011 taught by Professor Someone during the Summer '10 term at York University.
- Summer '10