class AoC::CachedIterator(T)

Included Modules

Defined in:

cached_iterator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(iterator : Iterator(T)) #

[View source]

Instance Method Detail

def next #
Description copied from module Iterator(T)

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.


[View source]
def rewind #

[View source]