C# Class LibiadaCore.Core.AbstractChain

The abstract chain.
Inheritance: IBaseObject
Afficher le fichier Open project: intervals-mining-lab/libiada-core Class Usage Examples

Méthodes publiques

Méthode Description
ClearAndSetNewLength ( int length ) : void

Deletes chain (building and alphabet) and creates new empty chain with given length.

Clone ( ) : IBaseObject

Creates clone of this chain.

DeleteAt ( int index ) : void

Removes element from given position.

Get ( int index ) : IBaseObject

Gets element by index. Inner implementation of indexer.

GetLength ( ) : int

The length of chain.

RemoveAt ( int index ) : void

Removes element from given position.

Set ( IBaseObject item, int index ) : void

Sets or replaces element in specified position.

ToString ( ) : string

Converts chain to string. Empty positions are filled with NullValue ('-' symbol).

ToString ( string delimiter ) : string

Converts sequence to string.

this ( int index ) : IBaseObject

Indexer. Returns element by index.

Method Details

ClearAndSetNewLength() public abstract méthode

Deletes chain (building and alphabet) and creates new empty chain with given length.
public abstract ClearAndSetNewLength ( int length ) : void
length int /// New chain length. ///
Résultat void

Clone() public abstract méthode

Creates clone of this chain.
public abstract Clone ( ) : IBaseObject
Résultat IBaseObject

DeleteAt() public abstract méthode

Removes element from given position.
public abstract DeleteAt ( int index ) : void
index int /// Index of deleted element. ///
Résultat void

Get() public abstract méthode

Gets element by index. Inner implementation of indexer.
public abstract Get ( int index ) : IBaseObject
index int /// Index of element. ///
Résultat IBaseObject

GetLength() public abstract méthode

The length of chain.
public abstract GetLength ( ) : int
Résultat int

RemoveAt() public abstract méthode

Removes element from given position.
public abstract RemoveAt ( int index ) : void
index int /// Index of deleted element. ///
Résultat void

Set() public abstract méthode

Sets or replaces element in specified position.
public abstract Set ( IBaseObject item, int index ) : void
item IBaseObject /// Element to set. ///
index int /// Position in sequence. ///
Résultat void

ToString() public méthode

Converts chain to string. Empty positions are filled with NullValue ('-' symbol).
public ToString ( ) : string
Résultat string

ToString() public méthode

Converts sequence to string.
public ToString ( string delimiter ) : string
delimiter string /// Delimiter added between elements. ///
Résultat string

this() public méthode

Indexer. Returns element by index.
public this ( int index ) : IBaseObject
index int /// Index of element. ///
Résultat IBaseObject