code: public long calcEntryCount() {
      long _count = 0;
      for (Entry e : entries) {
        while (e != null) {
          _count++;
          e = e.another;
        }
      }
      return _count;
    }
docs: Count the entries in the hash table, by scanning through the hash table.
  This is used for integrity checks.