Interface CanIterate

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type CanIterate = interface(IInterface)

Description

This iterface declares the methods that must be implemented by any class that supports iteration over its data.

Hierarchy

  • IInterface
  • CanIterate

Overview

Methods

Public function iterator: AnIterator;

Description

Methods

Public function iterator: AnIterator;

Constructs and initializes an iterator that is suitable for use with the object and its data. The iterator returned by this function can be used to iterate over the data maintained by the object.

Returns

A new instance of one of AnIterator's descendants that is suitable for iterating over the object's data. It is the responsibility of the caller to free this iterator when it is no longer needed.


Generated by PasDoc 0.13.0 on 2015-06-23 19:40:11