Mercurial > hg > Members > tatsuki > bench > jungle-core
comparison 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 |
comparison
equal
deleted
inserted
replaced
72:5969848b1bb8 | 74:3a3622cf2eef |
---|---|
1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer; | 1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer; |
2 | 2 |
3 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Children; | 3 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Children; |
4 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Node; | |
5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Parent; | 4 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Parent; |
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.DefaultError; | 5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.DefaultError; |
7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; | 6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; |
8 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; | 7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; |
9 | 8 |
10 public interface EditableChildren<T extends Parent<Node>> extends Children<Node> | 9 public interface EditableChildren<T extends Parent<T>> extends Children<T> |
11 { | 10 { |
12 public Either<Error,T> addNewChildAt(int _pos); | 11 public Either<Error,T> addNewChildAt(int _pos); |
13 public Either<Error,T> deleteChildAt(int _pos); | 12 public Either<Error,T> deleteChildAt(int _pos); |
14 | 13 |
15 public final Error OUT_OF_RANGE = new DefaultError(); | 14 public final Error OUT_OF_RANGE = new DefaultError(); |