Collections in Java Java Collection Framework Hierarchy of Collection Framework Collection interface Iterator interface The Collection in Java is a framework that…
Java Collections Tutorial
Java Stack The stack is a linear data structure that is used to store the collection of objects. It is based on…
Java ConcurrentHashMap class,v> A hash table supporting full concurrency of retrievals and high expected concurrency for updates. This class obeys the same…
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 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…