code: public double calcAvgSeek() {
          int count = 0;
  
          for (int i = 0, len = mSymbols.length; i < len; ++i) {
              if (mSymbols[i] != null) {
                  ++count;
              }
          }
  
          for (int i = 0, len = mBuckets.length; i < len; ++i) {
              Bucket b = mBuckets[i];
              int cost = 2;
              while (b != null) {
                  count += cost;
                  ++cost;
                  b = b.getNext();
              }
          }
  
          return ((double) count) / ((double) mSize);
      }
docs: /*
  ////////////////////////////////////////////////////////
  Test/debug support:
  ////////////////////////////////////////////////////////