Class StopLimitAccumulator<T>

java.lang.Object
ca.uhn.fhir.util.StopLimitAccumulator<T>
Type Parameters:
T - the type of object being streamed

public class StopLimitAccumulator<T> extends Object
This class collects items from a stream to a given limit and know whether there are still more items beyond that limit.