code: public int findElement(Object bookmark, int iHandleType)
      {
          int iTargetPosition;
          Object thisBookmark = null;
          if (bookmark == null)
              return -1;
          boolean bDataRecordFormat = false;
          for (iTargetPosition = m_iCurrentRecordStart; iTargetPosition < m_iCurrentRecordEnd; iTargetPosition++)
          {
              thisBookmark = this.elementAt(iTargetPosition);
              if (iTargetPosition == m_iCurrentRecordStart)
                  if (thisBookmark instanceof DataRecord)
                      bDataRecordFormat = true;
              if (bookmark.equals(thisBookmark))
                  return iTargetPosition;
              else if (bDataRecordFormat)
                  if (bookmark.equals(((DataRecord)thisBookmark).getHandle(iHandleType)))
                      return iTargetPosition;
          }
  //+ Still not found, do a binary search through the recordlist for a matching key
          return -1;  // Not found
      }
docs: This method does a sequential seqrch through the buffer looking for the bookmark.
  @return int index in table; or -1 if not found.
  @param bookmark java.lang.Object The bookmark to find.
  @param iHandleType The handle type of the bookmark.