Currently browsing tag

Java Collections

java-thumbnail

TreeSet in Java

TreeSet class implements the Set interface and stores the data in tree structure. The values are stored in sorted and ascending oreder. …

java-thumbnail

HashTable in Java

HashTable class was originally added as part of java.utill package and extended the Dictionary class. From Java 2, it is re-engineered to …

java-thumbnail

HashMap in Java

HashMap uses the hash table to implement the Map interface. Map is key-value pair where key is the reference and value is …

java-thumbnail

HashSet in Java

HastSet is one of the classes available with collections package and it extends the AbstractSet and implements the Set interface. This uses …

Pin It on Pinterest