docs: @SuppressWarnings("unchecked")
      private void expandTable() {
          int newCapacity = currentCapacity + increment;
          if (newCapacity < currentCapacity) {
              throw new IllegalStateException(
                              "Attempt to expand LookupTable beyond maximum capacity");
          }
          E[] theNewArray = (E[]) new Object[newCapacity];
          System.arraycopy(this.theElementArray, 0, theNewArray, 0, currentCapacity);
          theElementArray = theNewArray;
          currentCapacity = newCapacity;
      }