The value must not be negative. To help with distributions with long tails, if the given
value is greater than or equal toendValue, the valueendValue-1is recorded
instead.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 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,[]]