MCPcopy Create free account
hub / github.com/bbidulock/icewm / YArrayIterator

Method YArrayIterator

src/yarray.h:663–667  ·  view source on GitHub ↗

initially the iterator is invalid until next() is called.

Source from the content-addressed store, hash-verified

661public:
662 // initially the iterator is invalid until next() is called.
663 YArrayIterator(ArrayType *arr, bool reverse):
664 array(arr),
665 step(reverse ? -1 : 1),
666 index(reverse ? arr->getCount() : -1)
667 {}
668 bool hasNext() const {
669 return validate(step);
670 }

Callers

nothing calls this directly

Calls 1

getCountMethod · 0.45

Tested by

no test coverage detected