Creates an ImmutableList containing only a single threshold which counts the number of
elements. This is helpful for when using ThresholdBatcher for the simple case, when the element
count is the only threshold.
[[["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 for BatchingThresholds is 2.63.1, and the page provides access to various historical versions, dating back to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eBatchingThresholds is a class that provides factory methods for creating general-purpose batching thresholds.\u003c/p\u003e\n"],["\u003cp\u003eIt extends the \u003ccode\u003ejava.lang.Object\u003c/code\u003e class, inheriting methods like \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, and \u003ccode\u003ehashCode()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers a static method \u003ccode\u003e<E>create(long elementThreshold)\u003c/code\u003e to construct an ImmutableList containing a single threshold based on the number of elements, useful when the element count is the primary threshold.\u003c/p\u003e\n"],["\u003cp\u003eA default constructor, \u003ccode\u003eBatchingThresholds()\u003c/code\u003e, is available for creating instances of the class.\u003c/p\u003e\n"]]],[],null,[]]