IAlphabetCompareSymbols Method |
Compares two items and specifies whether they are same or not.
If the any of the bytes (Nucleotides) passed not belongs to
this alphabet then this method throws an exception.
TO Address scenarios like, N!=N, M != A etc.
For the Scenarios like A == a, g == G use IsValidSymbol method.
Namespace: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax bool CompareSymbols(
byte x,
byte y
)
Function CompareSymbols (
x As Byte,
y As Byte
) As Boolean
bool CompareSymbols(
unsigned char x,
unsigned char y
)
abstract CompareSymbols :
x : byte *
y : byte -> bool
Parameters
- x
- Type: SystemByte
First symbol to compare. - y
- Type: SystemByte
Second symbol to compare.
Return Value
Type:
BooleanReturns true if x equals y.
See Also