Searched refs:prevClass (Results 1 – 2 of 2) sorted by relevance
88 private final static int addState(int prevClass, int prevPrevClass) in addState() argument94 char pairAction = ThaiCharacterClasses.getPairAction(prevClass, c); in addState()99 if (prevClass == ThaiCharacterClasses.NIK && in addState()114 if (prevClass == ThaiCharacterClasses.TON && in addState()127 if (c != prevClass && isLegalHere(state, pairAction) && composesWithAnything(c)) { in addState()128 nextSt = addState(c, prevClass); in addState()
127 public static char getPairAction(int prevClass, int currClass) in getPairAction() argument129 if (prevClass < 0 || prevClass >= cCount | in getPairAction()134 return pairTable[prevClass][currClass]; in getPairAction()