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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…