This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use toCollection() to specify the exact collection implementation like LinkedList or TreeSet.
You've completed the free preview. Subscribe to unlock every lesson in every course.