C# 클래스 LibiadaCore.Misc.Iterators.IteratorSimpleStart

Iterator that goes from start of the chain and reading one element at a time.
파일 보기 프로젝트 열기: intervals-mining-lab/libiada-core 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Length int
Source LibiadaCore.Core.AbstractChain
Step int

공개 메소드들

메소드 설명
Current ( ) : IBaseObject

Returns current value of iterator.

IteratorSimpleStart ( AbstractChain source, int step ) : System

Initializes a new instance of the IteratorSimpleStart 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.

메소드 상세

Current() 공개 메소드

Returns current value of iterator.
/// Thrown if current position is invalid. ///
public Current ( ) : IBaseObject
리턴 IBaseObject

IteratorSimpleStart() 공개 메소드

Initializes a new instance of the IteratorSimpleStart class.
/// Thrown if one or more arguments are invalid. ///
public IteratorSimpleStart ( AbstractChain source, int step ) : System
source LibiadaCore.Core.AbstractChain /// Source chain. ///
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

프로퍼티 상세

Length 보호되어 있는 프로퍼티

Length of subsequence.
protected int Length
리턴 int

Source 보호되어 있는 프로퍼티

Source chain.
protected AbstractChain,LibiadaCore.Core Source
리턴 LibiadaCore.Core.AbstractChain

Step 보호되어 있는 프로퍼티

Shift of iterator.
protected int Step
리턴 int