return _predefinedRanges.getRawValue(index);
}
}, rangeCount);
final int forbidden = -1;
IntBoundedPriorityQueue pq = new IntBoundedPriorityQueue(comparator, maxNumOfFacets,
forbidden);
for (int i = 0; i < _predefinedRangeIndexes.length; ++i) {
if (rangeCount.get(i) >= minCount) pq.offer(i);
}
int val;
facetColl = new LinkedList<BrowseFacet>();
while ((val = pq.pollInt()) != forbidden) {
BrowseFacet facet = new BrowseFacet(_predefinedRanges.get(val), rangeCount.get(val));
((LinkedList<BrowseFacet>) facetColl).addFirst(facet);
}
}
return facetColl;