Java List Iterator Cursor II Collection Framework II Java Tutorial for beginner with coding example

  Рет қаралды 28

target up e Study

target up e Study

5 ай бұрын

Java List Iterator Cursor II Collection Framework II Java Tutorial for beginner with coding example
List Iterator is one of the four java cursors.
List Iterator is a bi-directional iterator. For this functionality, it has two kinds of methods:
1. Forward direction iteration
has Next This method returns true when the list has more elements to traverse while traversing in the forward direction
next This method returns the next element of the list and advances the position of the cursor.
next Index This method returns the index of the element that would be returned on calling the next() method.
2. Backward direction iteration
has Previous This method returns true when the list has more elements to traverse while traversing in the reverse direction
previous This method returns the previous element of the list and shifts the cursor one position backward.
previous Index This method returns the index of the element that would be returned on calling the previous() method.
#listIterator #javacursor

Пікірлер
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 3,2 МЛН
This is not my neighbor  Terrible neighbor! #funny #zoonomaly #memes
00:26
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 774 М.
How to learn English on your own? |🎧 Podcast and Chill
18:51
LEP - Learn English Podcast
Рет қаралды 4,5 М.
Negotiating: Office English episode 9
9:55
BBC Learning English
Рет қаралды 32 М.
The Java Memory Model - The Basics
23:41
Jakob Jenkov
Рет қаралды 122 М.
What fraction of the square's area is green?
11:09
Math U
Рет қаралды 1 М.
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 3,2 МЛН