bohdaq / forestbt Goto Github PK
View Code? Open in Web Editor NEWfirst educational java application
Home Page: forestbt
first educational java application
Home Page: forestbt
Add methods:
void addLeaf(Leaf leaf);
Leaf getLeaf(long id);
void removeLeaf(Leaf id);
Remove methods:
void removeLeaf(Leaf leaf);
Same for Ground interface
Create ForestElements class and put there all strings constants used in DefaultHandler2 class
Instead of using boolean values consider following code:
int CURRENT_LEVEL = -1;
int LEVEL_TREE = 1;
int LEVEL_LEAF = 2;
....
if(CURRENT_LEVEL == LEVEL_TREE)
{
//parse tree
}
else if(CURRENT_LEVEL == LEVEL_LEAF)
{
//parse leaf
}
..
Create separate package xml and put there all classes related to xml loading.
Rename DefaultHandler2 to ForestHandler
Method endElement too big: add parseTree and parseLeaf methods
Consider following xml:
a lot of whitespace
Try to kill this whitespaces
Review this document https://gist.github.com/1561693
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.