@Override public SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env) { Filter newInstance; try { newInstance = this.getClass().newInstance(); } catch (Exception e) { throw new RuntimeException(e); } newInstance.setSource(getSource().deepCopy(env)); newInstance.negate = negate; return newInstance; }
@Override public SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env) { Filter newInstance; try { newInstance = this.getClass().newInstance(); } catch (Exception e) { throw new RuntimeException(e); } newInstance.setSource(getSource().deepCopy(env)); newInstance.negate = negate; return newInstance; }