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 comprehensive list of previous versions down to 2.7.1 for the \u003ccode\u003eDistribution\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class, part of the \u003ccode\u003ecom.google.api.gax.core\u003c/code\u003e package, records values from 0 up to (but not including) \u003ccode\u003eendValue\u003c/code\u003e and calculates percentiles, allowing for concurrent method calls.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDistribution\u003c/code\u003e class offers a constructor \u003ccode\u003eDistribution(int endValue)\u003c/code\u003e that takes an integer to set the upper bound of values.\u003c/p\u003e\n"],["\u003cp\u003eThe class features methods such as \u003ccode\u003egetPercentile(double percentile)\u003c/code\u003e to find the percentile of recorded values and \u003ccode\u003erecord(int value)\u003c/code\u003e to record new integer values, ensuring non-negative values and adjusting if they are above the \u003ccode\u003eendValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetNthPercentile(double percentile)\u003c/code\u003e method has been deprecated.\u003c/p\u003e\n"]]],[],null,[]]