Mercurial > hg > Members > tatsuki > bench > jungle-core
comparison src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/transaction/DefaultTreeNodeAttribute.java @ 183:066d9c5758dc
change TreeContext
author | tatsuki |
---|---|
date | Mon, 23 Mar 2015 15:44:28 +0900 |
parents | 809f813d1083 |
children | d455e0ee7f4e 868a746996ad |
comparison
equal
deleted
inserted
replaced
182:67d4c68578cf | 183:066d9c5758dc |
---|---|
62 { | 62 { |
63 if (_key == null) { | 63 if (_key == null) { |
64 return null; | 64 return null; |
65 } | 65 } |
66 | 66 |
67 Option<ByteBuffer> result = attrs.get(_key); | 67 ByteBuffer result = attrs.getLoop(_key); |
68 return result.isSome() ? result.some() : null; | 68 return result; |
69 } | 69 } |
70 | 70 |
71 @Override | 71 @Override |
72 public String getString(String key) { | 72 public String getString(String key) { |
73 ByteBuffer attribute = get(key); | 73 ByteBuffer attribute = get(key); |