Data Structures in Java: Part 8, The Comparable Interface, Part 2
Baldwin shows you why the elements stored in a TreeSet collection need to be references to objects instantiated from a class that implements the Comparable interface, and briefly discusses an alternative approach using the Comparator interface...
Tutorial Info
Total Views: 1,257
View Tutorial - Back To Tutorials