27
|
1 package jungle.test.codesegment.operation;
|
15
|
2
|
31
|
3 import alice.jungle.core.NetworkDefaultJungle;
|
20
|
4 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.DefaultJungle;
|
15
|
5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.Jungle;
|
|
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.JungleTree;
|
|
7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.DefaultTreeEditor;
|
|
8 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.traverser.DefaultTraverser;
|
|
9
|
|
10 public class JungleManager {
|
24
|
11 static Jungle jungle = new NetworkDefaultJungle(null,"hoge",new DefaultTreeEditor(new DefaultTraverser()));
|
15
|
12
|
|
13 public JungleManager() {
|
|
14
|
|
15 }
|
|
16
|
|
17 public Jungle getJungle() {
|
|
18 return jungle;
|
|
19 }
|
|
20
|
18
|
21 public JungleTree createNewTree(String name) {
|
15
|
22 return jungle.createNewTree(name);
|
|
23 }
|
|
24
|
|
25
|
|
26 }
|