1Attean::API::RepeatableUIsteerraCtoonrt(r3i)buted Perl DAotctuemaenn:t:aAtPiIo:n:RepeatableIterator(3)
2
3
4

NAME

6       Attean::API::RepeatableIterator - Role representing iterators that may
7       be reset and iterated again
8

VERSION

10       This document describes Attean::API::RepeatableIterator version 0.033
11

SYNOPSIS

13         use v5.14;
14         use Attean;
15

DESCRIPTION

17       This is a Moo role that are consumed by iterators that can be reset and
18       iterated again.
19

ROLES

21       This role consumes the Attean::API::Iterator role.
22

REQUIRED METHODS

24       Classes consuming this role must provide the following methods:
25
26       "reset"
27           Resets the state of the iterator, allowing iteration from the start
28           of the underlying data.
29

METHODS

31       This role provides default implementations of the following methods:
32
33       "elements"
34           Returns a list of all elements in the iterator, leaving the
35           iterator state untouched.
36
37       "peek"
38           Returns the first element of the iterator, leaving the iterator
39           state untouched.
40

BUGS

42       Please report any bugs or feature requests to through the GitHub web
43       interface at <https://github.com/kasei/attean/issues>.
44

SEE ALSO

AUTHOR

47       Gregory Todd Williams  "<gwilliams@cpan.org>"
48
50       Copyright (c) 2014--2022 Gregory Todd Williams.  This program is free
51       software; you can redistribute it and/or modify it under the same terms
52       as Perl itself.
53
54
55
56perl v5.38.0                      2023-07-20Attean::API::RepeatableIterator(3)
Impressum