MCPcopy
hub / github.com/lindb/lindb / Next

Method Next

pkg/collections/array_list.go:185–192  ·  view source on GitHub ↗

Next returns the next value and index

()

Source from the content-addressed store, hash-verified

183
184// Next returns the next value and index
185func (it *FloatArrayIterator) Next() (idx int, value float64) {
186 if !it.hasValue {
187 return -1, 0
188 }
189 idx = it.idx - 1
190 value = it.fa.GetValue(idx)
191 return idx, value
192}

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.65

Tested by

no test coverage detected