util
-
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 ListIterator example
This is an example of how to obtain a LinkedList ListIterator. Using a LinkedList ListIterator implies that you should: Create…
Read More » -
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 » -
Insert element at specific index in LinkedList example
With this example we are going to demonstrate how to insert an element at a specific index in a LinkedList.…
Read More » -
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 » -
Get first and last elements in LinkedList example
In this example we shall show you how to get the first and the last elements of a LinkedList. The…
Read More » -
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 » -
Convert LinkedList to Object array example
This is an example of how to convert a LinkedList to an Object array. Converting a LinkedList to an array…
Read More » -
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 » -
Add elements at the beginning and end of LinkedList example
With this example we are going to demonstrate how to add elements in the start and the end of a…
Read More »