MCPcopy Create free account
hub / github.com/RoaringBitmap/roaring / HasNext

Method HasNext

roaring.go:545–547  ·  view source on GitHub ↗

HasNext returns true if there are more integers to iterate over

()

Source from the content-addressed store, hash-verified

543
544// HasNext returns true if there are more integers to iterate over
545func (ii *intIterator) HasNext() bool {
546 return ii.pos < ii.highlowcontainer.size()
547}
548
549func (ii *intIterator) init() {
550 if ii.highlowcontainer.size() > ii.pos {

Callers 2

AdvanceIfNeededMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected