Core Java
-
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 » -
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 » -
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 » -
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 » -
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 » -
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 » -
Replace element LinkedList example
In this example we shall show you how to replace an element in a LinkedList, that is setting another element…
Read More » -
Remove element at index from LinkedList example
With this example we are going to demonstrate how to remove an element at a specific index from a LinkedList.…
Read More » -
Remove specific element from LinkedList example
This is an example of how to remove a specific element from a LinkedList in Java. Removing a specific element…
Read More » -
Remove first and last element from LinkedList example
In this example we shall show you how to remove the first and the last element of a LinkedList. To…
Read More »