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\u003eThis webpage provides documentation for the \u003ccode\u003eDistribution\u003c/code\u003e class, which is used to record values and compute their percentiles, with version 2.63.1 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class constructor, \u003ccode\u003eDistribution(int endValue)\u003c/code\u003e, takes an integer \u003ccode\u003eendValue\u003c/code\u003e as a parameter, which defines the upper bound (exclusive) for recorded values.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers methods to calculate percentiles, such as \u003ccode\u003egetPercentile(double percentile)\u003c/code\u003e, which returns the percentile of recorded values as an integer, and the deprecated method \u003ccode\u003egetNthPercentile(double percentile)\u003c/code\u003e which returns a long.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erecord(int value)\u003c/code\u003e method is used to record new values, and values equal to or greater than \u003ccode\u003eendValue\u003c/code\u003e are recorded as \u003ccode\u003eendValue-1\u003c/code\u003e to manage long tails in distributions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class includes a \u003ccode\u003etoString()\u003c/code\u003e method to provide a String representation, and allows for concurrent method calls.\u003c/p\u003e\n"]]],[],null,[]]