Add ChronicleMap.readKey() and readValue() for convenient work with BytesMapEventListener

This commit is contained in:
leventov
2015-07-28 08:15:12 +03:00
parent c1a630f129
commit 7e9daf73f3
6 changed files with 66 additions and 0 deletions
@@ -294,6 +294,10 @@ public interface ChronicleMap<K, V> extends ConcurrentMap<K, V>, ChronicleHash {
*/
K newKeyInstance();
K readKey(Bytes entry, long keyPos);
V readValue(Bytes entry, long valuePos);
/**
* @return the class of {@code <K>}
*/