-
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 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

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 » -
LinkedList

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 » -
LinkedList

Remove all elements from LinkedList example
With this example we are going to demonstrate how to remove all elements from a LinkedList in Java. In short,…
Read More » -
LinkedList

LinkedList Iterator example
In this example we shall show you how to obtain a LinkedList Iterator. The Iterator is used to remove elements…
Read More » -
LinkedList

Obtain sub List from LinkedList example
This is an example of how to obtain a subList of a LinkedList, that is a view to a specified…
Read More » -
LinkedList

Get element at specific index of LinkedList example
With this example we are going to demonstrate how to get an element at a specific index of a LinkedList.…
Read More » -
LinkedList

Check for element existence in LinkedList example
In this example we shall show you how to check if an element exists in a LinkedList or not. To…
Read More » -
TreeSet

Obtain tail Set from TreeSet example
This is an example of how to obtain a tail Set of TreeSet, using the tailSet(E fromElement) method . The…
Read More »
