This example describes the use of HashMap class that uses a hash table to implement the Map interface.
This example describes the use of HashMap class that uses a hash table to implement the Map interface.
This example describe how to create a linked-list with more than one field value and storing a user-defined class in collections.
Here an example is shown describing a mail-list.
This example describes creation of array-list and traversing the array-list with for loop to cycle through a collection.
This example demonstrates the implementation of Iterator interface. When we want to cycle through the elements in a collection, we use Iterator or ListIterator interface.
This example demonstrates you creation of a array-deque similar properties of stack.
It also performs two operations push and pop.
This example simply describes to create a tree-structure of array-elements.
To do it java provides a class TreeSet in java.util package.
This example describes to create a hash-table structure and to perform the insert operation on data.
This example describes that how to create a linked-list data structure and its various operation such as insertion and deletion.
This example describes you to convert a arraylist into array and accessing every element of array to find the sum of elements in array.
This example simply describes creating an array list and operation on data of array such as insertion and deletion.