synchronized public void printStructure(Transaction tx, OutputStream out) throws IOException { PrintWriter pw = new PrintWriter(out,false); getRoot(tx).printStructure(tx, pw, ""); pw.flush(); }
synchronized public boolean isEmpty(final Transaction tx) throws IOException { return getRoot(tx).isEmpty(tx); }
synchronized public Iterator<Map.Entry<Key,Value>> iterator(final Transaction tx, Key initialKey, Key maxKey) throws IOException { return getRoot(tx).iterator(tx, initialKey, maxKey); }
synchronized public void clear(Transaction tx) throws IOException { getRoot(tx).clear(tx); }
synchronized public int getMaxLeafDepth(Transaction tx) throws IOException { return getRoot(tx).getMaxLeafDepth(tx, 0); }
synchronized public void visit(Transaction tx, BTreeVisitor<Key, Value> visitor) throws IOException { getRoot(tx).visit(tx, visitor); }
synchronized public void printStructure(Transaction tx, PrintWriter out) throws IOException { getRoot(tx).printStructure(tx, out, ""); }
synchronized public Iterator<Map.Entry<Key,Value>> iterator(final Transaction tx) throws IOException { return getRoot(tx).iterator(tx); }
synchronized public Map.Entry<Key,Value> getLast(Transaction tx) throws IOException { return getRoot(tx).getLast(tx); }
synchronized public int getMinLeafDepth(Transaction tx) throws IOException { return getRoot(tx).getMinLeafDepth(tx, 0); }
synchronized public Iterator<Map.Entry<Key,Value>> iterator(final Transaction tx, Key initialKey) throws IOException { return getRoot(tx).iterator(tx, initialKey, null); }
synchronized public Map.Entry<Key,Value> getFirst(Transaction tx) throws IOException { return getRoot(tx).getFirst(tx); }
synchronized public Value remove(Transaction tx, Key key) throws IOException { assertLoaded(); return getRoot(tx).remove(tx, key); }
synchronized public boolean containsKey(Transaction tx, Key key) throws IOException { assertLoaded(); return getRoot(tx).contains(tx, key); }
synchronized public Value get(Transaction tx, Key key) throws IOException { assertLoaded(); return getRoot(tx).get(tx, key); }
synchronized public Value put(Transaction tx, Key key, Value value) throws IOException { assertLoaded(); return getRoot(tx).put(tx, key, value); }
synchronized public void printStructure(Transaction tx, OutputStream out) throws IOException { PrintWriter pw = new PrintWriter(out,false); getRoot(tx).printStructure(tx, pw, ""); pw.flush(); }
synchronized public Value get(Transaction tx, Key key) throws IOException { assertLoaded(); return getRoot(tx).get(tx, key); }
synchronized public Value get(Transaction tx, Key key) throws IOException { assertLoaded(); return getRoot(tx).get(tx, key); }
synchronized public boolean containsKey(Transaction tx, Key key) throws IOException { assertLoaded(); return getRoot(tx).contains(tx, key); }