Source of 3.24.java


  1:    /** Removes all entries from this bag.
  2:        @author Frank M. Carrano, Timothy M. Henry
  3:        @version 5.0 */
  4:         public void clear()
  5:         {
  6:                 while (!isEmpty()) 
  7:          remove();
  8:         } // end clear