/** * Add the terms inside a SID to the collection of IVs to materialize if * they are not already there. */ @SuppressWarnings("rawtypes") final private void handleTerm(final IV<?, ?> iv, final Collection<IV<?, ?>> ivs, final Set<IV<?, ?>> unrequested) { if (iv instanceof SidIV) { handleSid((SidIV) iv, ivs, unrequested); } else { if (!ivs.contains(iv)) { // ivs.add(iv); unrequested.add(iv); } } }
/** * Add the terms inside a SID to the collection of IVs to materialize if * they are not already there. */ @SuppressWarnings("rawtypes") final private void handleTerm(final IV<?, ?> iv, final Collection<IV<?, ?>> ivs, final Set<IV<?, ?>> unrequested) { if (iv instanceof SidIV) { handleSid((SidIV) iv, ivs, unrequested); } else { if (!ivs.contains(iv)) { // ivs.add(iv); unrequested.add(iv); } } }
handleSid((SidIV) iv, ivs, unrequestedSidTerms);
handleSid((SidIV) iv, ivs, unrequestedSidTerms);