Next returns the next integer
()
| 566 | |
| 567 | // Next returns the next integer |
| 568 | func (ii *intIterator) Next() uint32 { |
| 569 | x := uint32(ii.iter.next()) | ii.hs |
| 570 | if !ii.iter.hasNext() { |
| 571 | ii.pos = ii.pos + 1 |
| 572 | ii.init() |
| 573 | } |
| 574 | return x |
| 575 | } |
| 576 | |
| 577 | // PeekNext peeks the next value without advancing the iterator |
| 578 | func (ii *intIterator) PeekNext() uint32 { |
no test coverage detected