C# Class Dev2.Data.Binary_Objects.IndexIterator

Inheritance: IIndexIterator
Datei anzeigen Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
AddGap ( int idx ) : void

Adds the gap.

Clone ( ) : IIndexIterator
FetchGaps ( ) : HashSet
FetchNextIndex ( ) : int

Fetches the index of the next.

HasMore ( ) : bool

Determines whether this instance has more.

IndexIterator ( HashSet gaps, int maxValue, int minValue = 1 ) : System

Initializes a new instance of the IndexIterator class.

MaxIndex ( ) : int

Maximums the index.

MinIndex ( ) : int

Minimums the index.

RemoveGap ( int idx ) : void

Removes the gap.

Method Details

AddGap() public method

Adds the gap.
public AddGap ( int idx ) : void
idx int The index.
return void

Clone() public method

public Clone ( ) : IIndexIterator
return IIndexIterator

FetchGaps() public method

public FetchGaps ( ) : HashSet
return HashSet

FetchNextIndex() public method

Fetches the index of the next.
public FetchNextIndex ( ) : int
return int

HasMore() public method

Determines whether this instance has more.
public HasMore ( ) : bool
return bool

IndexIterator() public method

Initializes a new instance of the IndexIterator class.
public IndexIterator ( HashSet gaps, int maxValue, int minValue = 1 ) : System
gaps HashSet The gaps.
maxValue int The maximum value.
minValue int The minimum value.
return System

MaxIndex() public method

Maximums the index.
public MaxIndex ( ) : int
return int

MinIndex() public method

Minimums the index.
public MinIndex ( ) : int
return int

RemoveGap() public method

Removes the gap.
public RemoveGap ( int idx ) : void
idx int The index.
return void