Algorithm::SkipList::Header - header node class for Algorithm::SkipList


Algorithm-SkipList documentation Contained in the Algorithm-SkipList distribution.

Index


Code Index:

NAME

Top

Algorithm::SkipList::Header - header node class for Algorithm::SkipList

DESCRIPTION

Top

This is a specialized subclass of Algorithm::SkipList::Node for header nodes.

AUTHOR

Top

Robert Rothenberg <rrwo at cpan.org>

Suggestions and Bug Reporting

Feedback is always welcome. Please use the CPAN Request Tracker at http://rt.cpan.org to submit bug reports.

LICENSE

Top

Copyright (c) 2003-2005 Robert Rothenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Top

  Algorithm::SkipList


Algorithm-SkipList documentation Contained in the Algorithm-SkipList distribution.

package Algorithm::SkipList::Header;

use 5.006;
use strict;
use warnings::register __PACKAGE__;

use base 'Algorithm::SkipList::Node';

use Carp qw( carp );

our $VERSION = '1.02';

# $VERSION = eval $VERSION;


sub key_cmp {
  -1;
}

sub key {
  carp "this method should never be run", if (warnings::enabled);
  return;
}

sub value {
  carp "this method should never be run", if (warnings::enabled);
  return;
}

1;

__END__