public Value get(Transaction tx, Key key) throws IOException { if (key == null) { throw new IllegalArgumentException("Key cannot be null"); } if( isBranch() ) { return getLeafNode(tx, this, key).get(tx, key); } else { int idx = Arrays.binarySearch(keys, key); if (idx < 0) { return null; } else { return values[idx]; } } }
synchronized public Value get(Transaction tx, Key key) throws IOException { assertLoaded(); return getRoot(tx).get(tx, key); }
public Value get(Transaction tx, Key key) throws IOException { if (key == null) { throw new IllegalArgumentException("Key cannot be null"); } if( isBranch() ) { return getLeafNode(tx, this, key).get(tx, key); } else { int idx = Arrays.binarySearch(keys, key); if (idx < 0) { return null; } else { return values[idx]; } } }
synchronized public Value get(Transaction tx, Key key) throws IOException { assertLoaded(); return getRoot(tx).get(tx, key); }
public Value get(Transaction tx, Key key) throws IOException { if (key == null) { throw new IllegalArgumentException("Key cannot be null"); } if( isBranch() ) { return getLeafNode(tx, this, key).get(tx, key); } else { int idx = Arrays.binarySearch(keys, key); if (idx < 0) { return null; } else { return values[idx]; } } }
synchronized public Value get(Transaction tx, Key key) throws IOException { assertLoaded(); return getRoot(tx).get(tx, key); }
public Value get(Transaction tx, Key key) throws IOException { if (key == null) { throw new IllegalArgumentException("Key cannot be null"); } if( isBranch() ) { return getLeafNode(tx, this, key).get(tx, key); } else { int idx = Arrays.binarySearch(keys, key); if (idx < 0) { return null; } else { return values[idx]; } } }
synchronized public Value get(Transaction tx, Key key) throws IOException { assertLoaded(); return getRoot(tx).get(tx, key); }