Source of 2.27.java


  1:         /** Removes one unspecified entry from this bag, if possible.
  2:        @return  Either the removed entry, if the removal was successful,
  3:                 or null otherwise. */
  4:         public T remove()
  5:         {
  6:                 checkInitialization();
  7:       T result = removeEntry(numberOfEntries - 1);                
  8:                 return result;
  9:         } // end remove