Alphabet

trait Alphabet

Partial mapping between characters and indices used in base conversions.

class Object
trait Matchable
class Any

Value members

Abstract methods

def ignore(c: Char): Boolean

Indicates whether the specified character should be ignored.

Indicates whether the specified character should be ignored.

def toChar(index: Int): Char

Converts the specified index to a character.

Converts the specified index to a character.

Throws
IndexOutOfBoundsException

if the specified byte is not supported by this alphabet

def toIndex(c: Char): Int

Converts the specified char to an index.

Converts the specified char to an index.

Throws
IllegalArgumentException

if the specified char is not supported by this alphabet