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 for the Distribution class is 2.63.1, with a wide range of previous versions, from 2.62.0 down to 2.7.1, also available for review.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class, which extends \u003ccode\u003ejava.lang.Object\u003c/code\u003e, records numerical values between 0 (inclusive) and a specified \u003ccode\u003eendValue\u003c/code\u003e (exclusive) to compute their percentiles, with concurrency being supported in method calls.\u003c/p\u003e\n"],["\u003cp\u003eThe primary constructor \u003ccode\u003eDistribution(int endValue)\u003c/code\u003e initializes the distribution, taking an integer as the maximum value, and key methods include \u003ccode\u003egetNthPercentile\u003c/code\u003e, \u003ccode\u003egetPercentile\u003c/code\u003e, and \u003ccode\u003erecord\u003c/code\u003e for recording new numerical data points.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erecord(int value)\u003c/code\u003e method logs a value, and in instances where the value is equal to or greater than \u003ccode\u003eendValue\u003c/code\u003e, \u003ccode\u003eendValue-1\u003c/code\u003e will be recorded in its place, with any negative numbers not being allowed.\u003c/p\u003e\n"]]],[],null,[]]