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 whole TreeSet and then adding each object manually to ArrayList ?
See Question&Answers more detail:os