66
|
1 package jungle.app.bbs.transformer;
|
61
|
2
|
|
3 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.EditableNode;
|
|
4 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.NodeEditor;
|
|
5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either;
|
|
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error;
|
|
7
|
|
8 public class MergeBBS implements NodeEditor {
|
|
9
|
|
10
|
|
11 public MergeBBS() {
|
|
12
|
|
13 }
|
|
14
|
|
15 @Override
|
|
16 public <T extends EditableNode<T>> Either<Error,T> edit(T _e)
|
|
17 {
|
|
18 return _e.getChildren().deleteChildAt(0);
|
|
19 }
|
|
20
|
|
21
|
|
22 }
|