code: public int findElement(Object element) {
          for (int i = 0; i < currentCapacity; i++) {
              if (element == theElementArray[i]) {
                  return i;
              }
          }
  
          return -1;
      }
docs: Finds a supplied object in the LookupTable and returns its index.
  
  @param element
  the object to find in the LookupTable. This is a SLOW
  operation as it scans the whole table.
  @return the Index of the Object in the LookupTable. -1 if the object is
  not in the LookupTable.