BucketIterator iterates over the buckets of a Histogram, returning decoded buckets.
| 165 | // BucketIterator iterates over the buckets of a Histogram, returning decoded |
| 166 | // buckets. |
| 167 | type BucketIterator[BC BucketCount] interface { |
| 168 | // Next advances the iterator by one. |
| 169 | Next() bool |
| 170 | // At returns the current bucket. |
| 171 | At() Bucket[BC] |
| 172 | } |
| 173 | |
| 174 | // baseBucketIterator provides a struct that is shared by most BucketIterator |
| 175 | // implementations, together with an implementation of the At method. This |
no outgoing calls
no test coverage detected
searching dependent graphs…