You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 30, 2019. It is now read-only.
cezarmathe edited this page Jun 21, 2019
·
3 revisions
CodeParser is a class that does CodeParsing for you, parsing an input String and returning an ArrayList<Code>(sorted as the different CodeTypes appear in the input String).
Fields
codeTypes the list of CodeTypes that the parser should be looking for
Methods
addCodeType() add a new CodeType to the list of CodeTypes that should be checked; if adding a CodeType twice, a RuntimeException will be thrown
parseString() parse an input String for the given CodeTypes and return a sorted ArrayList<Code>