sub _repr { return {} }
sub TIEHASH {
- ##
- # Tied hash constructor method, called by Perl's tie() function.
- ##
my $class = shift;
my $args = $class->_get_args( @_ );
return $self->SUPER::DELETE( $key, $_[0] );
}
+# Locate and return first key (in no particular order)
sub FIRSTKEY {
- ##
- # Locate and return first key (in no particular order)
- ##
my $self = shift->_get_self;
$self->lock_shared;
: $result;
}
+# Return next key (in no particular order), given previous one
sub NEXTKEY {
- ##
- # Return next key (in no particular order), given previous one
- ##
my $self = shift->_get_self;
my $prev_key = ($self->_engine->storage->{filter_store_key})
: $result;
}
-##
-# Public method aliases
-##
sub first_key { (shift)->FIRSTKEY(@_) }
-sub next_key { (shift)->NEXTKEY(@_) }
+sub next_key { (shift)->NEXTKEY(@_) }
sub _clear {
my $self = shift;