IntPeekable allows you to look at the next value without advancing and advance as long as the next value is smaller than minval
| 519 | // IntPeekable allows you to look at the next value without advancing and |
| 520 | // advance as long as the next value is smaller than minval |
| 521 | type IntPeekable interface { |
| 522 | IntIterable |
| 523 | // PeekNext peeks the next value without advancing the iterator |
| 524 | PeekNext() uint32 |
| 525 | // AdvanceIfNeeded advances as long as the next value is smaller than minval |
| 526 | AdvanceIfNeeded(minval uint32) |
| 527 | } |
| 528 | |
| 529 | type intIterator struct { |
| 530 | pos int |
no outgoing calls
no test coverage detected
searching dependent graphs…