Attean::API::RepeatableIterator(3pm)

Attean::API::RepeatableIterator3pm

Role representing iterators that may be reset and iterated again

Usage

  use v5.14;
  use Attean;

Version

This document describes Attean::API::RepeatableIterator version 0.035

Overview

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

Roles

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

Required methods

Classes consuming this role must provide the following methods:

"reset"

Resets the state of the iterator, allowing iteration from the start of the underlying data.

Methods

This role provides default implementations of the following methods:

"elements"

Returns a list of all elements in the iterator, leaving the iterator state untouched.

"peek"

Returns the first element of the iterator, leaving the iterator state untouched.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Bugs

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

Author

Gregory Todd Williams "<[email protected]>"

From libattean-perl 0.035-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.