}
} else if (toType == SortedSet.class) {
result = new TreeSet();
} else {
if (size > 0) {
result = new XWorkList(objectFactory, xworkConverter, memberType, size);
} else {
result = new XWorkList(objectFactory, xworkConverter, memberType);
}
}
return result;
}