Natalia-Mosiondz/ForestVY — Issue #3: Tree and Ground
Author: dmytrodanylyk
Created: 2012-02-05 12:59:38+00:00
State: open

1. Move to com.interfaces package
2. Remove all variables
3. Add following abstract methods:

void addLeaf(int index, Leaf leaf);
void addLeaf(Leaf leaf);
void addLeaves(List leaves);
void removeAllLeaves();
Leaf getLeaf(long id);
void removeLeaf(long leafId);

Same for Ground but use Tree instead of Leaf