diff src/jungle/app/bbs/transformer/MergeBBS.java @ 66:29127ac788a6

move some files
author one
date Tue, 20 Aug 2013 17:38:09 +0900
parents src/jungle/test/bbs/transformer/MergeBBS.java@e871e8fc3f69
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/jungle/app/bbs/transformer/MergeBBS.java	Tue Aug 20 17:38:09 2013 +0900
@@ -0,0 +1,22 @@
+package jungle.app.bbs.transformer;
+
+import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.EditableNode;
+import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.NodeEditor;
+import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either;
+import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error;
+
+public class MergeBBS implements NodeEditor {
+	
+	
+	public MergeBBS() {
+		
+	}
+	
+	@Override
+	public <T extends EditableNode<T>> Either<Error,T> edit(T _e)
+	{
+		return _e.getChildren().deleteChildAt(0);
+	}	
+	
+
+}