C# Class LibiadaCore.Core.SimpleTypes.ValuePhantom

Phantom value containing several alternative elements in one position.
Inheritance: Alphabet, IBaseObject
Show file Open project: intervals-mining-lab/libiada-core Class Usage Examples

Public Methods

Method Description
Add ( IBaseObject baseObject ) : int

Adds object to phantom elements list.

Add ( ValuePhantom phantomValue ) : void

Adds phantom value by merging. All not duplicated elements from second phantom value are added to this phantom value.

Clone ( ) : IBaseObject

Cloning method.

Equals ( object other ) : bool

The equals.

ToString ( ) : string

The to string.

Private Methods

Method Description
Equals ( NullValue nullValue ) : bool

The equals.

EqualsAsElement ( IBaseObject baseObject ) : bool

The equals as element.

EqualsAsPhantom ( ValuePhantom phantomValue ) : bool

The equals as phantom.

Method Details

Add() public method

Adds object to phantom elements list.
public Add ( IBaseObject baseObject ) : int
baseObject IBaseObject /// Object to add. ///
return int

Add() public method

Adds phantom value by merging. All not duplicated elements from second phantom value are added to this phantom value.
public Add ( ValuePhantom phantomValue ) : void
phantomValue ValuePhantom /// Phantom value to add. ///
return void

Clone() public method

Cloning method.
public Clone ( ) : IBaseObject
return IBaseObject

Equals() public method

The equals.
public Equals ( object other ) : bool
other object /// The other element. ///
return bool

ToString() public method

The to string.
public ToString ( ) : string
return string