Properties class in Java The properties object contains key and value pair both as a string. The java.util.Properties class is the subclass…
Java Collections Tutorial
-
-
Java ConcurrentLinkedQueue Class ConcurrentLinkedQueue is an unbounded thread-safe queue which arranges the element in FIFO. New elements are added at the tail…
-
Sorting in Collection We can sort the elements of: String objects Wrapper class objects User-defined class objects Collections class provides static methods…
-
Java Deque Interface Java Deque Interface is a linear collection that supports element insertion and removal at both ends. Deque is an…
-
Java Deque A deque is a linear collection that supports insertion and deletion of elements from both the ends. The name ‘deque’…
-
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…