public void addPattern(String pattern, String ivalue) {int k = ivalues.find(ivalue);if (k <= 0) {k = packValues(ivalue);ivalues.insert(ivalue, (char) k);}insert(pattern, (char) k);}
public virtual void AddPattern(string pattern, string ivalue){int k = ivalues.Find(ivalue);if (k <= 0){k = PackValues(ivalue);ivalues.Insert(ivalue, (char)k);}Insert(pattern, (char)k);}