-
Collections
Create ArrayList from Enumeration example
In this example we shall show you how to create an ArrayList from an Enumeration. We will use a Vector…
Read More » -
Collections
Copy Collection to another Collection example
With this example we are going to demonstrate how to copy a Collection to another Collection. In particular, we will…
Read More » -
HashMap
Remove mapping from HashMap example
This is an example of how to remove mapping from a HashMap, that is removing a key value pair from…
Read More » -
HashMap
Remove all mappings from HashMap example
This is an example of how to remove all mappings from a HashMap, that means removing all key value pairs…
Read More » -
HashMap
HashMap Iterator example
In this example we shall show you how to use a HashMap Iterator. To use a HashMap one should perform…
Read More » -
HashMap
Get size of HashMap example
With this example we are going to demonstrate how to get the size of a HashMap, that is the number…
Read More » -
HashMap
Get Set view of HashMap keys example
This is an example of how to get a Set view of HashMap keys. Getting a Set view of HashMap…
Read More » -
HashMap
Check value existence in HashMap example
In this example we shall show you how to check a value existence in HashMap. To check if a value…
Read More » -
HashMap
Check key existence in HashMap example
With this example we are going to demonstrate how to check a key existence in a HashMap. In short, to…
Read More » -
LinkedList
Search elements in LinkedList example
This is an example of how to search the elements in a LinkedList. Searching the elements in a LinkedList implies…
Read More »