C# Класс LibiadaCore.Misc.Iterators.IteratorStart

Iterator that goes from start of the chain.
Наследование: IteratorBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
IteratorStart ( AbstractChain source, int length, int step ) : System

Initializes a new instance of the IteratorStart class.

Next ( ) : bool

Moves iterator to the next position.

Reset ( ) : void

Returns iterator to the starting position. Before reading first value. IteratorBase.Next() method should be called.

Описание методов

IteratorStart() публичный Метод

Initializes a new instance of the IteratorStart class.
/// Thrown if one or more arguments are invalid. ///
public IteratorStart ( AbstractChain source, int length, int step ) : System
source LibiadaCore.Core.AbstractChain /// Source chain. ///
length int /// Length of subsequence. ///
step int /// Shift of iterator. ///
Результат System

Next() публичный Метод

Moves iterator to the next position.
public Next ( ) : bool
Результат bool

Reset() публичный Метод

Returns iterator to the starting position. Before reading first value. IteratorBase.Next() method should be called.
public Reset ( ) : void
Результат void