Given Iterator<Element>, how can we conveniently convert that Iterator to a List<Element>, so that we can use List‘s operations on it such as get(index), add(element), etc.

12 Answers
12

Leave a Reply

Your email address will not be published. Required fields are marked *