core java
-
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 » -
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 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 » -
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 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 » -
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 ListIterator example
This is an example of how to obtain a LinkedList ListIterator. Using a LinkedList ListIterator implies that you should: Create…
Read More »