Mercurial > hg > Members > nobuyasu > jungle-network
view 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 source
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); } }