NAME
EO::Collection - abstract base class for Collection-type objects
SYNOPSIS
DESCRIPTION
EO::Collection is an base class for things that want to implement a collection class.
EXCEPTIONS
INHERITANCE
EO::Collection inherits from EO.
CONSTRUCTOR
EO::Collection provides no constructor beyond what its parent class provides.
METHODS
- element
-
This gets and sets the raw Perl primitive that is going to be used for storage. An attempt to set this to something other than a reference will result in a EO::Error::InvalidParameters exception being thrown.
ABSTRACT METHODS
- delete( KEY )
-
Abstract method that needs to be implemented in child classes. Should delete the thing located at element KEY.
- object_at_index( KEY [, THING] )
-
Abstract method that needs to be implemented in child classes. With one argument should return the thing located at element KEY. With two arguments it should place THING in location KEY.
SEE ALSO
EO::Array, EO::Hash
AUTHOR
James A. Duncan <jduncan@fotango.com
COPYRIGHT
Copyright 2003 Fotango Ltd.