Mercurial > hg > Members > tatsuki > TreeMap
changeset 14:0c126652d4b1
put bag fix
author | tatsuki |
---|---|
date | Sat, 18 Apr 2015 12:51:36 +0900 |
parents | b6739b88edeb |
children | c14ae14c57ae |
files | src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/TreeMap/Node.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/TreeMap/Node.java Sat Apr 18 12:01:41 2015 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/ie/cr/tatsuki/TreeMap/Node.java Sat Apr 18 12:51:36 2015 +0900 @@ -37,7 +37,7 @@ Node<K, V> cur = this; while (cur.isNotEmpty()) { - int result = compare(key); + int result = cur.compare(key); if (result > 0) cur = cur.right();