@Override protected ExtendedIterator<Triple> _graphBaseFind(TripleMatch m) { return L.find(m).andThen(R.find(m)); }
/** * To find in the union, find in the components, concatenate the results, and omit duplicates. * That last is a performance penalty, but I see no way to remove it unless we know the graphs do * not overlap. */ @Override public ExtendedIterator<Triple> graphBaseFind(final TripleMatch t) { Set<Triple> seen = CollectionFactory.createHashedSet(); return recording(L.find(t), seen).andThen(rejecting(R.find(t), seen)); // return L.find( t ) .andThen( rejecting( R.find( t ), L ) ); }