public void addClass(String chargroup) {if (chargroup.length() > 0) {char equivChar = chargroup.charAt(0);char[] key = new char[2];key[1] = 0;for (int i = 0; i < chargroup.length(); i++) {key[0] = chargroup.charAt(i);classmap.insert(key, 0, equivChar);}}}

public void addClass ( String chargroup ) { if ( chargroup . length ( ) > 0 ) { char equivChar = chargroup . charAt ( 0 ) ; char [ ] key = new char [ 2 ] ; key [ 1 ] = 0 ; for ( int i = 0 ; i < chargroup . length ( ) ; i ++ ) { key [ 0 ] = chargroup . charAt ( i ) ; classmap . insert ( key , 0 , equivChar ) ; } } }
public virtual void AddClass(string chargroup){if (chargroup.Length > 0){char equivChar = chargroup[0];char[] key = new char[2];key[1] = (char)0;for (int i = 0; i < chargroup.Length; i++){key[0] = chargroup[i];m_classmap.Insert(key, 0, equivChar);}}}
