Iterable

Kind of class:public interface
Package:com.bourre.collection
Inherits from:none
Implemented by:
Known subinterfaces:
Author:Cédric Néhémie
Classpath:com.bourre.collection.Iterable
File last modified:Wednesday, 09 January 2008, 12:22:12
An object onto which the user can iterate using an Iteratorobject provided by this Iterable object.
See also:

Summary


Instance methods

Instance methods

iterator

public function iterator (

Returns an iterator over the elements in this collection. There are no
guarantees concerning the order in which the elements are returned
(unless this collection is an instance of some class that provides a
guarantee).
Returns:
  • an Iterator over the elements in this collection