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 within the Google API Client Library for Java, detailing its functionality for recording and analyzing value distributions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class allows for concurrent recording of values ranging from 0 up to a specified \u003ccode\u003eendValue\u003c/code\u003e, with the capability to calculate approximate percentiles.\u003c/p\u003e\n"],["\u003cp\u003eA list of available versions of the \u003ccode\u003eDistribution\u003c/code\u003e class, starting with version 2.63.1 as the latest, and running all the way down to 2.7.1 are available for review.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class includes methods such as \u003ccode\u003egetPercentile\u003c/code\u003e and \u003ccode\u003erecord\u003c/code\u003e, which enable users to retrieve percentiles of recorded values and add new values to the distribution, respectively.\u003c/p\u003e\n"],["\u003cp\u003eUsers can see that the \u003ccode\u003egetNthPercentile\u003c/code\u003e method is deprecated, and the \u003ccode\u003erecord\u003c/code\u003e method ensures that any value equal or greater than \u003ccode\u003eendValue\u003c/code\u003e is treated as \u003ccode\u003eendValue-1\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]