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"]],[["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-08-15 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eDistribution\u003c/code\u003e class in the \u003ccode\u003ecom.google.api.gax.core\u003c/code\u003e package, with the latest version being 2.63.1 and a multitude of historical versions listed from there down to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class is designed to record integer values from 0 up to a specified \u003ccode\u003eendValue\u003c/code\u003e (exclusive) and then calculate their percentiles, and allows for concurrent method calls.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods to record integer values, retrieve percentiles of recorded values using \u003ccode\u003egetPercentile(double percentile)\u003c/code\u003e, and an additional method to get a long data type percentile using \u003ccode\u003egetNthPercentile(double percentile)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt contains a constructor \u003ccode\u003eDistribution(int endValue)\u003c/code\u003e which takes the \u003ccode\u003eendValue\u003c/code\u003e as a parameter, and a \u003ccode\u003erecord(int value)\u003c/code\u003e method to add new values, making note of values that exceed \u003ccode\u003eendValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits several methods from \u003ccode\u003ejava.lang.Object\u003c/code\u003e including \u003ccode\u003etoString()\u003c/code\u003e, \u003ccode\u003eequals(Object)\u003c/code\u003e, and \u003ccode\u003ehashCode()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]