public Iterator<Integer> query(int[] minhashes) {
        RoaringBitmap candidates = new RoaringBitmap();
        for (int band = 0; band < nBands; band++) {
            int[] hashes = computeHash(minhashes, band, nRows);
            RoaringBitmap idsBitmap = bandsStorage.getValues(band, hashes);
            if (idsBitmap != null) {
                candidates.or(idsBitmap);
            }
        }
        return candidates.iterator();
    }
Finds the number of bands that need to be used for a given similarity threshold.

@param nHashes
@param jaccardThreshold
@return
ache/src/main/java/achecrawler/minhash/LSH.java