Mercurial > hg > Members > tatsuki > bench > jungle-core
changeset 15:0d93a6edc1b7
sweep
author | Shoshi TAMAKI |
---|---|
date | Tue, 18 Dec 2012 17:13:58 +0900 |
parents | 596a714e6a89 |
children | 35c661de095d |
files | src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Editor.java src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Jungle.java src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Link.java src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Links.java src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Path.java src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/TreeGroup.java src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/TreeNode.java |
diffstat | 7 files changed, 0 insertions(+), 56 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Editor.java Tue Dec 18 16:51:09 2012 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core; - -public interface Editor -{ - public Tree commit(); - public Tree rollback(); - - public Link createLinkAt(TreeNode _target,Tree _linkTarget); - public void removeLinkAt(TreeNode _target,Link _removeTarget); - - public TreeNode createChildAt(TreeNode _target); - public void removeChildAt(TreeNode _target,TreeNode _removeTarget); - - public String putPropertyAt(TreeNode _target,String _key,String _value); - public String removePropertyAt(TreeNode _target,String _key); -}
--- a/src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Jungle.java Tue Dec 18 16:51:09 2012 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Jungle.java Tue Dec 18 17:13:58 2012 +0900 @@ -2,7 +2,4 @@ public interface Jungle { - public TreeGroup createTreeGroup(); - public TreeGroup createTreeGroup(String _id); - public TreeGroup getTreeGroupByID(String _id); }
--- a/src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Link.java Tue Dec 18 16:51:09 2012 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core; - -public interface Link extends Node -{ - TreeGroup destination(); -}
--- a/src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Links.java Tue Dec 18 16:51:09 2012 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core; - -public interface Links extends Iterable<Link> -{ - public Link getAt(int _pos); - public boolean contains(Link n); - public int size(); -}
--- a/src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/Path.java Tue Dec 18 16:51:09 2012 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core; - -public interface Path extends Iterable<Node> -{ - public Path removeAt(int _pos); - public Path removeTail(); - public Path add(Node _tail); - public Node getAt(int _pos); -}
--- a/src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/TreeGroup.java Tue Dec 18 16:51:09 2012 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core; - -public interface TreeGroup -{ - String getID(); - Tree latestTree(); -}
--- a/src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/TreeNode.java Tue Dec 18 16:51:09 2012 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core; - -public interface TreeNode extends Node -{ - Children children(); - Links links(); -}