Learn R Programming

container (version 0.3.0)

Iterable: Iterable abstract class interface

Description

An Iterable is an object that provides an iter() method, which is expected to return an Iterator object. This class defines the abstract class interface such that each class inheriting this class provides an iter() method and must implement a private method create_iter, which must return an Iterator object.

Usage

Iterable

Arguments

Format

An object of class R6ClassGenerator of length 24.

Inherited methods

Inherits method iter from abstract Iterable class.

Iterable method/interface

iter()

Return Iterator object.

See Also

Iterator and Container