Mercurial > hg > Members > tatsuki > TreeMap
changeset 15:c14ae14c57ae
forget adding src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/TreeMap/Tuple.java and src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/TreeMap/RotateParent.java
author | tatsuki |
---|---|
date | Mon, 20 Apr 2015 08:00:25 +0900 |
parents | 0c126652d4b1 |
children | 19dd02f1ee8e |
files | src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/TreeMap/RotateParent.java src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/TreeMap/Tuple.java |
diffstat | 2 files changed, 40 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/TreeMap/RotateParent.java Mon Apr 20 08:00:25 2015 +0900 @@ -0,0 +1,15 @@ +package jp.ac.u_ryukyu.ie.cr.tatsuki.TreeMap; + +/** + * Created by e115731 on 15/04/17. + */ +public class RotateParent extends Exception { + Node parent ; + public RotateParent(Node node) { + this.parent = node; + } + + public Node getParent(){ + return parent; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/TreeMap/Tuple.java Mon Apr 20 08:00:25 2015 +0900 @@ -0,0 +1,25 @@ +package jp.ac.u_ryukyu.ie.cr.tatsuki.TreeMap; + +/** + * Created by e115731 on 15/04/18. + */ +public class Tuple { + + Node node; + boolean rebuildFlag; + + public Tuple(Node node, boolean rebuildFlag){ + this.node = node; + this.rebuildFlag = rebuildFlag; + } + + public Node getNode(){ + return node; + } + + public boolean getRebuildFlag(){ + return rebuildFlag; + } + + +}