The value must not be negative. To help with distributions with long tails, if the given
value is greater than or equal to endValue, the value endValue-1 is recorded
instead.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThe latest version available is 2.63.1, with a list of other versions displayed on this page, all the way back to version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class in this documentation records values from 0 up to a specified \u003ccode\u003eendValue\u003c/code\u003e and calculates their percentiles, allowing concurrent method calls.\u003c/p\u003e\n"],["\u003cp\u003eThe constructor \u003ccode\u003eDistribution(int endValue)\u003c/code\u003e defines the range of values that can be recorded, where the parameter \u003ccode\u003eendValue\u003c/code\u003e is an integer.\u003c/p\u003e\n"],["\u003cp\u003eThe method \u003ccode\u003egetPercentile(double percentile)\u003c/code\u003e returns the approximate percentile of recorded values as an integer and can be called concurrently with the \u003ccode\u003erecord\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe method \u003ccode\u003erecord(int value)\u003c/code\u003e records a new integer value, and if the value is at or over the \u003ccode\u003eendValue\u003c/code\u003e defined in the constructor, it will instead record \u003ccode\u003eendValue -1\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]