Class Alphabet
- Namespace
- AlgorithmsSW.String
- Assembly
- AlgorithmsSW.dll
Represents an alphabet, a subset of Unicode.
public class Alphabet
- Inheritance
-
Alphabet
- Inherited Members
- Extension Methods
Constructors
Alphabet(string)
Represents an alphabet, a subset of Unicode.
public Alphabet(string alphabet)
Parameters
alphabet
string
Fields
Base64
public static readonly Alphabet Base64
Field Value
Binary
public static readonly Alphabet Binary
Field Value
Decimal
public static readonly Alphabet Decimal
Field Value
Dna
public static readonly Alphabet Dna
Field Value
Hexadecimal
public static readonly Alphabet Hexadecimal
Field Value
Lowercase
public static readonly Alphabet Lowercase
Field Value
Mkhedruli
public static readonly Alphabet Mkhedruli
Field Value
Octal
public static readonly Alphabet Octal
Field Value
Protein
public static readonly Alphabet Protein
Field Value
Uppercase
public static readonly Alphabet Uppercase
Field Value
Properties
BitCount
public int BitCount { get; }
Property Value
Radix
public int Radix { get; }
Property Value
Methods
Contains(char)
public bool Contains(char c)
Parameters
c
char
Returns
ToChar(int)
public char ToChar(int index)
Parameters
index
int
Returns
ToChars(int[])
public string ToChars(int[] indices)
Parameters
indices
int[]
Returns
ToIndex(char)
public int ToIndex(char c)
Parameters
c
char
Returns
ToIndices(string)
public int[] ToIndices(string s)
Parameters
s
string
Returns
- int[]
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.