/** * A nondeterministic finite-state automaton that * recognizes strings with 0 as the next-to-last * character. */ public class NFA2 { /* * The current set of states, encoded bitwise: * state i is represented by the bit 1<