code: static final int setHashTableThreshold(final int lgNomLongs, final int lgArrLongs) {
      //FindBugs may complain if DQS_RESIZE_THRESHOLD == REBUILD_THRESHOLD, but this allows us
      // to tune these constants for different sketches.
      final double fraction = (lgArrLongs <= lgNomLongs) ? DQS_RESIZE_THRESHOLD : REBUILD_THRESHOLD;
      return (int) Math.floor(fraction * (1 << lgArrLongs));
    }
docs: Returns the cardinality limit given the current size of the hash table array.
  
  @param lgNomLongs <a href="{@docRoot}/resources/dictionary.html#lgNomLongs">See lgNomLongs</a>.
  @param lgArrLongs <a href="{@docRoot}/resources/dictionary.html#lgArrLongs">See lgArrLongs</a>.
  @return the hash table threshold