List of article on JAVA Collections

Hashset Methods In Java With Example

Hashset is a type of Java Collection that uses Hash table for storing the data, which internally uses a phenomena known as hashing. HashSet do not allow duplicate values, but allow null elements to be stored and also it does not maintains any insertion order. HashSet Methods in JAVA: Let us discuss all the HashSet methods one by … Continue reading Hashset Methods In Java With Example

TreeMap Methods Tutorial With Examples in JAVA

TreeMap store values based on  key value pairs. This pair is often called as Entry. It  stores only unique elements i.e. duplicate values are not allowed and it cannot store key as null but can store null values. Mostly it is similar to HashMap Class and key difference is, it maintains an increasing order of the values based on … Continue reading TreeMap Methods Tutorial With Examples in JAVA

LinkedHashMap Methods Tutorial With Examples in JAVA

LinkedHashMap is a type of Collection, which takes all the functionalities of HashMap class. In Addition to them, the functionality of maintaining the insertion is added into LinkedHashMap and to attain this functionality all the entries(key and value) are linked to each other using doubly-linked list. This doubly-linked list maintains the iteration ordering, which is … Continue reading LinkedHashMap Methods Tutorial With Examples in JAVA

LinkedList All Methods In Java With Examples

Linked list is a data structure consisting of  group of nodes which together represent a sequence. Each node has data part and reference to the next node in the sequence. This structure makes insertion and removal of elements from any position in the sequence an effortless process.The last node is linked to a terminator used … Continue reading LinkedList All Methods In Java With Examples