diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-10-06 20:12:14 -0400 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-10-06 20:12:14 -0400 |
| commit | 3460b2c0c571a61068f664adc5a1b97f6a24cdcc (patch) | |
| tree | e0cf4c80983a71bf0effac045044ab508877ca90 /src/main/java/bjc/data/ValueToggle.java | |
| parent | f3ecbf3ed7d496ad7652a081fcafa494846b2878 (diff) | |
Add ResettableIterator
Adds ResettableIterator, an iterator type which caches the elements it
iterates over, so as to allow you to re-iterate over them at your
leisure.
Note that because this works by caching, it can consume large amounts of
memory if used on large iterators.
In general, I would suggest only using this on medium-sized or smaller
iterators you know you want to re-iterate over.
Diffstat (limited to 'src/main/java/bjc/data/ValueToggle.java')
0 files changed, 0 insertions, 0 deletions
