124125126127128129130131132133134
public static Object getValue(KVStore s, Key k) { Object returnVal = null; if (k != null && s != null) { ValueVersion vv = s.get(k); if (vv != null) returnVal = fromByteArray(vv.getValue().getValue()); } return returnVal; }