I have a TreeSet which contains > 100k objects. I have another method which requires ArrayList as an param.
Is there any way I can accomplish this without iterating
ArrayList has a convenience method addAll that fits the bill nicely:
addAll
final Set set = ... List list = new ArrayList(someBigNum); list.addAll(set);