code: public final K getKey(int index) {
      if (index < 0 || index >= this.size) {
        return null;
      }
      @SuppressWarnings("unchecked")
      K result = (K) this.data[index << 1];
      return result;
    }
docs: Returns the key at the given index or {@code null} if out of bounds.