Mercurial > hg > Members > shoshi > jungle > jungle-core
diff src/main/java/jp/ac/u_ryukyu/ie/cr/jungle/store/nodepath/RedBlackTreeNodePath.java @ 316:a0529572fbcb
Path Convert magpack bug fix
author | tatsuki |
---|---|
date | Fri, 27 Jan 2017 01:09:43 +0900 |
parents | 474728dcfdb8 |
children | d6b81870216b |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/ie/cr/jungle/store/nodepath/RedBlackTreeNodePath.java Fri Jan 27 00:45:01 2017 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/ie/cr/jungle/store/nodepath/RedBlackTreeNodePath.java Fri Jan 27 01:09:43 2017 +0900 @@ -11,7 +11,7 @@ private final String key; private final ByteBuffer value; - private final PathType type; + private final int type; public RedBlackTreeNodePath() { this.key = "default"; @@ -25,7 +25,7 @@ this.type = PathType.RedBlack; } - private RedBlackTreeNodePath(String key, ByteBuffer value, PathType type) { + private RedBlackTreeNodePath(String key, ByteBuffer value, int type) { this.key = key; this.value = value; this.type = type; @@ -42,12 +42,12 @@ } @Override - public PathType getPathType() { + public int getPathType() { return type; } @Override - public NodePath setType(PathType type) { + public NodePath setType(int type) { return new RedBlackTreeNodePath(this.getKey(), this.getValue(), type); }