   /** Tests whether this bag contains a given entry.
       @param anEntry  The entry to locate.
       @return  True if this bag contains anEntry, or false otherwise. */
   public boolean contains(T anEntry)
   {
      checkInitialization();
      return getIndexOf(anEntry) > -1; // or >= 0
   } // end contains
