Mercurial > hg > Members > tatsuki > bench > jungle-core
annotate src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/store/trasnformer/EditableChildren.java @ 74:3a3622cf2eef
remove error but have a error test program
and LoggingChildren.iterator is bad
author | one |
---|---|
date | Wed, 27 Aug 2014 05:07:50 +0900 |
parents | 8c6ff361b68a |
children | 715a9fbf02fc |
rev | line source |
---|---|
11 | 1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer; |
2 | |
3 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Children; | |
36 | 4 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Parent; |
24 | 5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.DefaultError; |
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; | |
23 | 7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; |
11 | 8 |
74 | 9 public interface EditableChildren<T extends Parent<T>> extends Children<T> |
11 | 10 { |
31
418088ca2b30
added Generics parameters to EditableNode framework
Shoshi TAMAKI
parents:
27
diff
changeset
|
11 public Either<Error,T> addNewChildAt(int _pos); |
418088ca2b30
added Generics parameters to EditableNode framework
Shoshi TAMAKI
parents:
27
diff
changeset
|
12 public Either<Error,T> deleteChildAt(int _pos); |
24 | 13 |
14 public final Error OUT_OF_RANGE = new DefaultError(); | |
11 | 15 } |