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().



Website of the "UCI del Caribe S.A.", which is a neonatal intensive care unit. I developed the website with an own source code in PHP5, and using a MySQL database.

Pin It