### Question:
KV { public String quickGetOrCompute(String table, String key, Function<String, String> comp) { return get(table, key).map(Constants::string).orElseGet(() -> { try (Transaction tx = db.createWriteTransaction()){ String o = comp.apply(key); db.openDatabase(tx, table, 0).put(bytes(key), bytes(o)); return o; } }); } KV(); Optional<byte[]> get(String table, String key); static float[] asVector(byte[] bytes); static byte[] asBytes(float[] floats); String quickGetOrCompute(String table, String key, Function<String, String> comp); public Env db; }### Answer:
@Test public void testQuickGetOrCompute() { fail("Not yet implemented"); }