Iterable | R Documentation |
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.
new()
Iterable
is an abstract class and thus cannot be instantiated.
Iterable$new()
iter()
Create iterator
Iterable$iter()
returns the Iterator
object.
clone()
The objects of this class are cloneable with this method.
Iterable$clone(deep = FALSE)
deep
Whether to make a deep clone.
Roman Pahl
Iterator and Container
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.