Source of 6.20.java


  1: // @author Frank M. Carrano, Timothy M. Henry
  2: // @version 5.0
  3: public boolean isEmpty()
  4: {
  5:    checkIntegrity();
  6:    return stack.isEmpty();
  7: } // end isEmpty

  9: public void clear()
 10: {
 11:    checkIntegrity();
 12:    stack.clear();
 13: } // end clear