public void testDefaultIntFacetIterator() {
String format = "00";
DecimalFormat df = new DecimalFormat(format);
List<IntFacetIterator> list = new ArrayList<IntFacetIterator>();
for (int seg = 0; seg < 5; seg++) {
TermIntList tsl1 = new TermIntList(format);
int limit = 25;
BigIntArray count = new BigIntArray(limit);
String[] terms = new String[limit];
for (int i = limit - 1; i >= 0; i--) {
terms[i] = df.format(i);
}
Arrays.sort(terms);
for (int i = 0; i < limit; i++) {
tsl1.add(terms[i]);
count.add(i, i);
}
tsl1.seal();
DefaultIntFacetIterator itr1 = new DefaultIntFacetIterator(tsl1, count, limit, true);
list.add(itr1);
}
CombinedIntFacetIterator ctr = new CombinedIntFacetIterator(list);
String result = "";