code: public boolean remove(Token token,
                            Transaction transaction)
                      throws ObjectManagerException
      {
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.entry(this, cclass,
                          "remove",
                          new Object[] { token, transaction });
  
          Iterator iterator = iterator();
          boolean removed = false;
          synchronized (iterator) {
              synchronized (transaction.internalTransaction) {
                  synchronized (this) {
                      try {
                          while (iterator.next(transaction) != token);
                          iterator.remove(transaction);
                          removed = true;
                      } catch (java.util.NoSuchElementException exception) {
                          // No FFDC code needed.
                      } // try.
                  } // synchronized (this).
              } // synchronized (transaction.internalTransaction).
          } // synchronized (iterator).
  
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.exit(this, cclass,
                         "remove",
                         new Object[] { new Boolean(removed) });
          return removed;
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.ws.objectManager.Collection#remove(com.ibm.ws.objectManager.Token, com.ibm.ws.objectManager.Transaction)