comparison Implab/Formats/CharAlphabet.cs @ 177:a0ff6a0e9c44 ref20160224

refactoring
author cin
date Wed, 23 Mar 2016 01:42:00 +0300
parents 0c3c69fe225b
children 6fa235c5a760
comparison
equal deleted inserted replaced
176:0c3c69fe225b 177:a0ff6a0e9c44
2 using System.Linq; 2 using System.Linq;
3 using Implab.Automaton; 3 using Implab.Automaton;
4 4
5 namespace Implab.Formats { 5 namespace Implab.Formats {
6 public class CharAlphabet: IndexedAlphabetBase<char> { 6 public class CharAlphabet: IndexedAlphabetBase<char> {
7
8 public CharAlphabet() {
9 }
10 7
11 public override int GetSymbolIndex(char symbol) { 8 public override int GetSymbolIndex(char symbol) {
12 return symbol; 9 return symbol;
13 } 10 }
14 11