Base constructor
Base(
- String ALPHABET
Implementation
Base(String ALPHABET) {
this.ALPHABET = ALPHABET;
this.BASE = ALPHABET.length;
this.LEADER = (ALPHABET)[0];
for (var i = 0; i < (ALPHABET).length; i++) {
ALPHABET_MAP[(ALPHABET)[i]] = i;
}
}