public Object get(int index) {
    if (index < 0 || index >= size) {
      throw new IndexOutOfBoundsException();
    }
    int iiPointer = index / data.length;
    int jjPointer = index % data.length;

    return data[iiPointer][jjPointer];

  }
helper method to see capacity and number of entries in HAT
src/ds/HashedArrayTree.java