Category: LinkedList

Iterate LinkedList in reverse order 0

Iterate LinkedList in reverse order

In the previous post, we have learnt about LinkedList ListIterator. In this post, we will learn how to iterate LinkedList in reverse order. There is a method descendingIterator() to iterate over a list in reverse...






LinkedList ListIterator in java 0

LinkedList ListIterator in java

In the previous post, we have learnt about Iterator in LinkedList. In this post, we will study about LinkedList ListIterator in java. In LinkedList , ListIterator allows to iterator over in forward and backward directions...






linkedist iterator 0

LinkedList Iterator in java

In the previous post, we have seen how to get the sublist from LinkedList. In this post, we will learn about LinkedList Iterator in java. After creating a LinkedList Iterator, we call method Iterator()...






Get subList from LinkedList 0

Get subList from LinkedList

In the previous post, we have seen how to search element in LinkedList. In this post, we will learn how to get sublist from LinkedList. There is a method as sublist() which takes start...






Search Element in the LinkedList 0

Search Element in the LinkedList

In the previous post, we have seen how to remove all elements from the List. In this post, we will see how to search Element in the LinkedList. We can use the following methods...






Remove all elements from LinkedList 0

Remove all elements from LinkedList

In the previous post, we have seen how to remove First and Last element from the LinkedList. In this post, we will see how to remove all elements from the linkedList. We use the...