docs: private static <T> void bilinearTimeIncrementHistogramCounters(final T[] samples, final int offset,
        final int numSamples, final long weight, final T[] splitPoints, final double[] counters,
        final Comparator<? super T> comparator) {
      assert ((splitPoints.length + 1) == counters.length);
      for (int i = 0; i < numSamples; i++) {
        final T sample = samples[i + offset];
        int j = 0;
        for (j = 0; j < splitPoints.length; j++) {
          final T splitpoint = splitPoints[j];
          if (comparator.compare(sample, splitpoint) < 0) {
            break;
          }
        }
        assert j < counters.length;
        counters[j] += weight;
      }
    }