Closed GoogleCodeExporter closed 9 years ago
* NFAState should inherit from FAState
* both states should have only data and no behavior
Original comment by lemontree.cool
on 5 Oct 2008 at 1:38
* there's actually no needs for FAState. FAState will contain itself; so even if
NFAState can inherit from FAState, it only contains FAState, not NFAState.
Original comment by lemontree.cool
on 8 Oct 2008 at 1:39
TestHelper.getNFAState(Character) : NFAState
* creates a new NFAState if there's none
* returns the NFAState corresponding to that Character
Original comment by lemontree.cool
on 8 Oct 2008 at 1:43
TestHelper:
* private createTransition
* private testTransition
* private parseTransition
Original comment by lemontree.cool
on 8 Oct 2008 at 1:46
should be called StateV2
Original comment by lemontree.cool
on 8 Oct 2008 at 1:51
in the implementation of equals(), one shouldn't use HashMap or TreeMap. since
if
there's a loop, it gonna cause infinite recursions.
Original comment by lemontree.cool
on 8 Oct 2008 at 2:01
use IdentityMap
Original comment by lemontree.cool
on 8 Oct 2008 at 2:02
Original comment by lemontree.cool
on 12 Oct 2008 at 9:17
Original issue reported on code.google.com by
lemontree.cool
on 5 Oct 2008 at 4:05