[[["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 details the \u003ccode\u003eNumericThreshold\u003c/code\u003e class, a component of the Google API client libraries for Java.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNumericThreshold\u003c/code\u003e implements the \u003ccode\u003eBatchingThreshold\u003c/code\u003e interface and uses an \u003ccode\u003eElementCounter\u003c/code\u003e to keep track of a numerical count.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNumericThreshold\u003c/code\u003e constructor takes a \u003ccode\u003ethreshold\u003c/code\u003e value, and an \u003ccode\u003eElementCounter\u003c/code\u003e as parameters, and determines when to allow an event.\u003c/p\u003e\n"],["\u003cp\u003eKey methods of this class include \u003ccode\u003eaccumulate\u003c/code\u003e, which adds an element to the threshold, \u003ccode\u003ecopyWithZeroedValue\u003c/code\u003e, which resets the threshold's count, and \u003ccode\u003eisThresholdReached\u003c/code\u003e, which checks if the threshold value has been met.\u003c/p\u003e\n"],["\u003cp\u003eThe page contains information on versions ranging from 2.63.1 all the way to 2.7.1, and offers links for each version of the \u003ccode\u003eNumericThreshold\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]