MCPcopy Create free account
hub / github.com/apache/arrow / Next

Method Next

cpp/src/arrow/util/iterator.h:390–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388 explicit VectorIterator(std::vector<T> v) : elements_(std::move(v)) {}
389
390 Result<T> Next() {
391 if (i_ == elements_.size()) {
392 return IterationTraits<T>::End();
393 }
394 return std::move(elements_[i_++]);
395 }
396
397 private:
398 std::vector<T> elements_;

Callers

nothing calls this directly

Calls 2

EndFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected