comparison Implab/Parsing/AlphabetBase.cs @ 156:97fbbf816844 v2

Promises: SignalXXX methods merged into SignalHandler method. Components: RunnableComponent In progress
author cin
date Mon, 15 Feb 2016 04:22:15 +0300
parents 21611344d366
children
comparison
equal deleted inserted replaced
155:037df317f126 156:97fbbf816844
9 namespace Implab.Parsing { 9 namespace Implab.Parsing {
10 public abstract class AlphabetBase<T> : IAlphabet<T> { 10 public abstract class AlphabetBase<T> : IAlphabet<T> {
11 public const int UNCLASSIFIED = 0; 11 public const int UNCLASSIFIED = 0;
12 12
13 int m_nextId = 1; 13 int m_nextId = 1;
14 int[] m_map; 14 readonly int[] m_map;
15 15
16 public int Count { 16 public int Count {
17 get { return m_nextId; } 17 get { return m_nextId; }
18 } 18 }
19 19