code: public long indexOf(Token token,
                          Transaction transaction)
                      throws ObjectManagerException
      {
          long index = 0;
          try {
              for (Iterator iterator = iterator(); index < Long.MAX_VALUE; index++) {
                  if (iterator.next(transaction) == token) {
                      break;
                  }
              }
          } catch (java.util.NoSuchElementException exception) {
              // No FFDC code needed.
              index = -1;
          } // try.
          return index;
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.ws.objectManager.List#indexOf(com.ibm.ws.objectManager.Token, com.ibm.ws.objectManager.Transaction)