Mercurial > hg > Members > tatsuki > bench > jungle-core
comparison src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/store/impl/TreeNodeChildren.java @ 75:26dfa90016d1
error delete but 2 test program commentout and not action BulletinBoard
Traverser is bad
author | one |
---|---|
date | Wed, 27 Aug 2014 05:52:46 +0900 |
parents | 8c6ff361b68a |
children | 540a27dde42f |
comparison
equal
deleted
inserted
replaced
74:3a3622cf2eef | 75:26dfa90016d1 |
---|---|
1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl; | 1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl; |
2 | 2 |
3 import fj.data.List; | |
3 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Children; | 4 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Children; |
4 | |
5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Parent; | 5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Parent; |
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.transaction.DefaultTreeNode; | |
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; | 7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; |
7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; | 8 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; |
8 | 9 |
9 public interface TreeNodeChildren<T extends Parent<T>> extends Children<T> | 10 public interface TreeNodeChildren<T extends Parent<T>> extends Children<T> |
10 { | 11 { |
11 public Either<Error,T> addNewChildAt(int _pos); | 12 public Either<Error,T> addNewChildAt(int _pos); |
12 public Either<Error,T> deleteChildAt(int _pos); | 13 public Either<Error,T> deleteChildAt(int _pos); |
13 public Either<Error,T> addNewChildAt(int _pos,T _newChild); | 14 public Either<Error,T> addNewChildAt(int _pos,T _newChild); |
14 public Either<Error,T> replaceNode(int _pos,T _replacement); | 15 public Either<Error,T> replaceNode(int _pos,T _replacement); |
16 public List<DefaultTreeNode> getChildrenAsRawList(); | |
15 } | 17 } |