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\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,[]]