if (!index2.isEmpty()) {
value = soughtValue.convert(type, true).asAtomic();
ArrayList nodes = (ArrayList)index2.get(getCollationKey(value, type, collation, context));
if (nodes != null) {
if (result == null) {
result = new ListIterator(nodes);
} else {
result = new UnionEnumeration(result, new ListIterator(nodes), LocalOrderComparer.getInstance());
}
}
}
}
}