Course contentsShow
Java
Lesson 1073 of 2,87025. Set ImplementationsPro lesson

Iterating TreeSet: Always Sorted Order

See how TreeSet iteration always returns elements in sorted order, unlike HashSet's arbitrary ordering.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.