Members Area
Webmaster Tutorials
Free Web Scripts
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: 761
View Tutorial - Back To Tutorials