void dump(PrintWriter stream) {
      stream.print("[size=" + count + " intervals=" + (intervalIdx + 1) + " memused="
          + getMemoryUsed() + " ");
      for (int i = 0; i <= intervalIdx; i++) {
        if (i != 0) {
          stream.print(", ");
        }
        intervals[i].dump(stream);
      }
      if (currentCount != 0) {
        if (intervalIdx != -1) {
          stream.print(", ");
        }
        BitInterval.create(currentStartBits, currentInterval, currentCount).dump(stream);
      }
      stream.println("]");
    }
Gets the first "resultSize" values of this series skipping over the first "samplesToSkip"
ones. The first value in a series is at index 0. The maximum result size can be obtained by
calling "getSize()".
geode-core/src/main/java/org/apache/geode/internal/statistics/StatArchiveReader.java