Java Stack The stack is a linear data structure that is used to store the collection of objects. It is based on…
Java Collections Tutorial
-
-
Collections in Java Java Collection Framework Hierarchy of Collection Framework Collection interface Iterator interface The Collection in Java is a framework that…
-
Java EnumMap class Java EnumMap class is the specialized Map implementation for enum keys. It inherits Enum and AbstractMap classes. EnumMap class…
-
Java EnumSet class Java EnumSet class is the specialized Set implementation for use with enum types. It inherits AbstractSet class and implements…
-
Java HashMap Java HashMap class implements the Map interface which allows us to store key and value pair, where keys should be…
-
Java HashSet Java HashSet class is used to create a collection that uses a hash table for storage. It inherits the AbstractSet…
-
Java Hashtable class Java Hashtable class implements a hashtable, which maps keys to values. It inherits Dictionary class and implements the Map…
-
Java TreeMap class Java TreeMap class is a red-black tree based implementation. It provides an efficient means of storing key-value pairs in…
-
Iterator in Java In Java, an Iterator is one of the Java cursors. Java Iterator is an interface that is practiced in…
-
Java TreeSet class Java TreeSet class implements the Set interface that uses a tree for storage. It inherits AbstractSet class and implements…