It is based on TreeMap, the main different is that TreeSet is an implementation of Set interface and TreeMap on Map interface.

This kind of collection sorts your entries just when they are inserted. No need to call sort().



"UCI del Caribe S.A." is a neonatal intensive care unit. I developed a web application in JSP, and using a MySQL database. The web application allowed the doctor to control the clinical history of the patients.

Pin It