125126127128129130131132133134135
public Triple convert(Statement item) { return item.asTriple(); } }), new Closeable() { @Override public void close() { if (it instanceof ClosableIterator<?>)
145146147148149150151152153154155156
*/ protected void closeIterators() { for (WeakReference<Closeable> wr : closeableIterators) { Closeable c = wr.get(); if (null != c) { c.close(); } } }