ProtectedbaseAbsolute index of cache[0]. Increments when the cache evicts its oldest entry.
ProtectedcacheProtectediAbsolute index of the next value next() will return.
ProtectediteratorProtectediteratorProtectedmaxSeeks forward/backwards to the index i. i may be any positive or negative number. Negative numbers seek
starting from the end of the internal cache (e.g. -1 is the last element).
Wraps
iteratorto allow for seeking backwards and forwards. An internal cache of lengthmaxLengthis kept and progressively added to when iterating forwards.