Mercurial > hg > Database > jungle-network
view src/jungle/test/codesegment/practice/JungleManager.java @ 24:2a378b94cc55
use NetworkDefaultTreeEditor
author | one |
---|---|
date | Sun, 30 Jun 2013 04:32:37 +0900 |
parents | 506388c02b4b |
children |
line wrap: on
line source
package jungle.test.codesegment.practice; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.DefaultJungle; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.Jungle; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.JungleTree; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.DefaultTreeEditor; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.traverser.DefaultTraverser; import jungle.test.core.NetworkDefaultJungle; public class JungleManager { static Jungle jungle = new NetworkDefaultJungle(null,"hoge",new DefaultTreeEditor(new DefaultTraverser())); public JungleManager() { } public Jungle getJungle() { return jungle; } public JungleTree createNewTree(String name) { return jungle.createNewTree(name); } }