public String dump() throws IOException {
      StringBuilder sb = new StringBuilder(
        "Segment[#" + segmentIndex + "][size: " + segmentSize + "b]" +
        "[hashSuffix: " + hashSuffix() + ", depth: " + hashSuffixDepth() + ", mask: " + Integer.toBinaryString(hashSuffixMask()) + "]" +
        "[entries: " + entriesCount() + ", alive: " + aliveEntriesCount() + "]\n"
      );
      for (int i = 0; i < entriesCount(); i++) {
        int key = entryKey(i);
        int value = entryValue(i);
        if (key != 0) {
          sb.append("\t[" + i + "]=(" + key + ", " + value + ")\n");
        }
      }
      return sb.toString();
    }
public String dump()