-
TreeMap

Obtain tail map from TreeMap example
This is an example of how to obtain a tail map from a TreeMap. The TreeMap API provides methods for…
Read More » -
TreeMap

Get size of TreeMap example
With this example we are going to demonstrate how to get the size of a TreeMap, that is the number…
Read More » -
TreeMap

Obtain lowest and highest keys from TreeMap example
In this example we shall show you how to obtain the lowest and highest keys from a TreeMap. The TreeMap…
Read More » -
TreeMap

Check value existence in TreeMap example
This is an example of how to check a value existence in a TreeMap in Java. Checking if a value…
Read More » -
LinkedHashMap

Remove mapping from LinkedHashMap example
With this example we are going to demonstrate how to remove mapping from a LinkedHashMap, that is removing a key…
Read More » -
LinkedHashMap

LinkedHashMap Iterator example
In this example we shall show you how to obtain a LinkedHashMap Iterator, that is an iterator over the LinkedHashMap…
Read More » -
LinkedHashMap

Get Set view of LinkedHashMap keys example
In this example we shall show you how to get a Set view of the LinkedHashMap keys. To get a…
Read More » -
LinkedHashMap

Check key existence in LinkedHashMap example
This is an example of how to check a key existence in a LinkedHashMap. Checking if a key exists in…
Read More » -
HashSet

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

HashSet size example
In this example we shall show you how to get the HashSet size, that is the number of all the…
Read More »
