Traversable


Object Hierarchy:

Gee.Traversable Gee.Traversable Gee.Traversable GLib.Object GLib.Object GLib.Object->Gee.Traversable

Description:


[ GenericAccessors ]
public interface Traversable<G> : Object

It's a common interface for Iterator and Iterable. It provides a fast, high level functions.

Iterator implementation: Please note that most of the functions affect the state of the iterator by moving it forward. Even if the iterator is BidirIterator it must not rewind the state.

Iterable implementation: validy ( Iterator.valid) of returned iterator is the same as for invalid iterator. In other words the following code is semantically equivalent:

    var x = iterable.function (args);
var x = iterable.iterator ().function(args);

Since:

0.7.0

All known implementing classes:
All known sub-interfaces:

Namespace: Gee
Package: gee-0.8

Content:

Enums:

Properties:

Methods:

Inherited Members: