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