core java
-
LinkedHashSet
LinkedHashSet Iterator example
This is an example of how to obtain a LinkedHashSet Iterator. The LinkedHashSet API provides us with methods for such…
Read More » -
LinkedHashSet
LinkedHashSet size example
In this example we shall show you how to get the size of a LinkedHashSet, that is the number of…
Read More » -
LinkedHashSet
Convert LinkedHashSet to Object array example
With this example we are going to demonstrate how to convert a LinkedHashSet to an Object array. In short, to…
Read More » -
LinkedHashSet
Check for element existence in LinkedHashSet example
This is an example of how to check for an element existence in a LinkedHashSet. We will use the contains(Object…
Read More » -
Hashtable
Remove mapping from Hashtable example
In this example we shall show you how to remove mapping from a Hashtable, that means removing a key value…
Read More » -
Hashtable
Remove all mappings from Hashtable example
With this example we are going to demonstrate how to remove all mappings from a Hashtable, that means removing all…
Read More » -
Hashtable
Hashtable values Iterator example
This is an example of how to obtain a Hashtable values Iterator, that is an iterator of the values of…
Read More » -
Hashtable
Hashtable keys Iterator example
In this example we shall show you how to obtain a Hashtable keys Iterator, that is an iterator of the…
Read More » -
Hashtable
Hashtable Iterator example
With this example we are going to demonstrate how to obtain a Hashtable Iterator, that is an iterator of the…
Read More » -
Hashtable
Get size of Hashtable example
This is an example of how to get the size of the Hashtable, that is the number of the key-…
Read More »