Attean::ListIterator - Online Linux Manual PageSection : 3
Updated : 2021-02-08
Source : perl v5.32.1
Note : User Contributed Perl Documentation

NAMEAttean::ListIterator − Iterator implementation backed by a list/array of values

VERSIONThis document describes Attean::ListIterator version 0.030

SYNOPSIS​ use v5.14; ​ use Attean; ​ my @values = map { Attean::Literal−>new($_) } (1,2,3); ​ my $iter = Attean::ListIterator−>new( ​ values => \@values, ​ item_type => 'Attean::API::Term', ​ ); ​ ​ say $iter−>next−>value; # 1 ​ say $iter−>next−>value; # 2 ​ say $iter−>next−>value; # 3

DESCRIPTIONThe Attean::ListIterator class represents a typed iterator. It conforms to the Attean::API::RepeatableIterator role. The Attean::ListIterator constructor requires two named arguments: values An array reference containing the items to iterate over. item_type A string representing the type of the items that will be returned from the iterator.

METHODSreset Resets the iterator's internal state so that iteration begins again at the beginning of the values array. next Returns the iterator's next item, or undef upon reaching the end of iteration. size Returns the number of elements still remaining in the iterator until it is fully consumed or until reset is called.

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

SEE ALSO

AUTHORGregory Todd Williams <gwilliams@cpan.org>

COPYRIGHTCopyright (c) 2014−−2020 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
0
Johanes Gumabo
Data Size   :   6,599 byte
man-Attean::ListIterator.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 174,344
Visitor ID   :     :  
Visitor IP   :   3.142.131.51   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Attean::ListIterator.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Attean::ListIterator.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Attean::ListIterator.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Attean::ListIterator.3pm|43|'br══─}─══ |'br══─}─══ )