Attean::API::Iterator - Online Linux Manual PageSection : 3
Updated : 2021-02-08
Source : perl v5.32.1
Note : User Contributed Perl Documentation
NAMEAttean::API::Iterator − Typed iterator
VERSIONThis document describes Attean::API::Iterator version 0.030
DESCRIPTIONThe Attean::API::Iterator role defines a common API for typed iterators. This package also defines several type-specific iterator roles: • Attean::API::TripleIterator • Attean::API::QuadIterator • Attean::API::MixedStatementIterator • Attean::API::ResultIterator These roles will automatically be applied to iterators during construction when appropriate.
ATTRIBUTESThe following attributes exist: item_type A string indicating the type of elements returned by the iterator.
REQUIRED METHODSThe following methods are required by the Attean::API::Iterator role: next Returns the next element from the iterator, or undef upon exhaustion.
METHODSThe Attean::API::Iterator role provides default implementations of the following methods: elements Returns a list of all remaining elements in the iterator. map( \&mapper [, $result_type] ) Returns a new Attean::API::Iterator object with each element mapped using the supplied &mapper function. If the iterator elements are of the same type as those in the referent iterator, only a mapping function is required. Otherwise, the supplied Type::Tiny $result_type object must indicate the new iterator's type information. grep( \&filter ) Returns a new Attean::API::Iterator object that filters elements from the referent iterator based on whether calling &filter( $element ) for each $element results in a true value. offset( $offset ) Returns the Attean::API::Iterator referent after skipping the first $offset elements. limit( $limit ) Returns a new Attean::API::Iterator object which returns the first $limit elements of the referent. materialize Returns a new Attean::API::RepeatableIterator object containing all the elements from the referent. debug( [$name] ) Print each item as it is consumed (with the string generated by as_string), prepended by $name.
Methods on Roles Supporting StringificationFor iterators over roles that provide an as_string method, extra methods are provided. These iterators are: Attean::API::ResultOrTermIterator Attean::API::StatementIterator Attean::API::MixedStatementIterator Attean::API::ResultIterator Attean::API::TermIterator They provide the following methods: uniq Returns a new iterator providing unique results (based on the stringified value of the underlying elements).
BUGSPlease report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/attean/issues>.
SEE ALSOAttean::API::RepeatableIterator
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 : 11,762 byte
man-Attean::API::Iterator.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 169,816
Visitor ID : :
Visitor IP : 3.137.177.204 :
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::API::Iterator.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Attean::API::Iterator.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Attean::API::Iterator.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|149|Attean::API::Iterator.3pm|43|'br══─}─══ |'br══─}─══
)