DBM::D...ketList(3pm)
Okay bestie, this is the DBM::Deep::Iterator::BucketList page from the User Contributed Perl Documentation. π
πΈ NAME πΈ
DBM::Deep::Iterator::BucketList β mediate between DBM::Deep::Iterator and DBM::Deep::Engine::Sector::BucketList
π PURPOSE π
This is an internal-use-only object for DBM::Deep. It acts as the mediator between the DBM::Deep::Iterator object and a DBM::Deep::Engine::Sector::BucketList sector. β¨
β¨ OVERVIEW β¨
Okay so this object, despite the implied class hierarchy, does NOT inherit from DBM::Deep::Iterator. Instead, it delegates to it, essentially acting as a facade over it. get_next_key in DBM::Deep::Iterator will instantiate one of these objects as needed to handle an BucketList sector. π
π METHODS π
π«Ά new(\%params) π«Ά
The constructor takes a hashref of params and blesses it into the invoking class. The hashref is assumed to have the following elements:
iterator(of typeDBM::Deep::Iterator)sector(of typeDBM::Deep::Engine::Sector::BucketList)
π at_end() π
This takes no arguments.
This returns true/false indicating whether this sector has any more elements that can be iterated over. π¦
π get_next_iterator() π
This takes no arguments.
This returns the next key pointed to by this bucketlist. This value is suitable for returning by FIRSTKEY or NEXTKEY(). If the bucketlist is exhausted, it returns nothing. π
Signed off with perl v5.42.0 energy, dated 2023-11-13. ππ«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-DBM-Deep 2.0019-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms