This repository is for my personal projects written in Java.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
src/com/dzyubak/parser
.classpath
.gitignore
.project
LICENSE
README.md

README.md

java

This repository is for my personal projects written in Java.

com.dzyubak.parser

com.dzyubak.parser is a program that searches for a number of double data type in a given String. It performs like a parser or finite state machine (FSM).

  • src/com/dzyubak/parser/ParserException.java
  • src/com/dzyubak/parser/Program.java
  • src/com/dzyubak/parser/StringToDoubleConverter.java

Running Program gives the following output:

3.14E9
-2.71828E-6
-42.0
0.0
Error! ParserException[Number can not be found in the current string.]