Java Tutorial For Beginners 34 - ListIterator in Java

preview_player
Показать описание

★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

Ways to iterate over a List in java?
java - difference between Iterator and Listiterator? -
ArrayList ListIterator example
Searches related to listiterator java
listiterator java example
listiterator interface java
list java
listiterator api
implements listiterator
java iterator
iterator class java
iterator remove
Рекомендации по теме
Комментарии
Автор

Thanks man. Great video.

One thing I have noticed. Pointer didn't placed automatically on the last item when use hasprevious(). So if you use at first while(itr.hasPrevious()) you get nothing on the output. It work only after you came through you list with itr.next() firstly.

didfrost
Автор

i notice the videos can be heard by only left or right sides of speakers or headsets while other any normal video works on both sides at a time.

Kiviro
Автор

thank u so much for your tutorial, really its very helpful but from video number 28 on wards your voice has disabled, would u please check it once, because of that problem we unable to understand the tutorial

vangapatilakshmi
Автор

The video wasn't so good but I got what i want.. so thanks :)

DakshGargas
Автор

You r doing good, but pls raise your volume it's not enough.

kathiravanbalakrishnan
Автор

thanks for sharing ur knowledge watching every video n all r gr8

saurabhtripathi
Автор

Thanks for these videos! I took a few classes in Java and now I am trying to learn the language more in depth. Is it possibly to get a job in Java if you don not have a bachelors degree with you get really good at Java? I almost have a Associate Degree in Software development> I have planes to try to get a CS degree in the future but I think I need to get in the field first due to money situations.

deathangel
Автор

thanks man keep up the good work you deserve the best

ZuestTV
Автор

thanks for the easy explanition;

i cant forget it, , your explanation doent need a revision after

bestryfulhd
Автор

I don't understand why it is printing the last index value on next (ie patick) when patrick does not have a "next" value should that be false and not print?


Or is it actually printing the next value not the current value? but then why would it print the first index?
I'm so confused.

fireFprometheus
Автор

Sir, what is the use of list iterator when we can do like this:
for(string name:names)
Sop(name);

TheDinesh
Автор

Hi there. I have been following your videos on Java Tutorial For Beginners and now my eclipse gives me an error I am unable to resolve now I am stuck. This is the error message "Several ports (8008, 8085) required by Tomcat v8.5 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s)." How can I overcome this. I tried methods I get on other youtube channels but it's not working. Please help me.

By the way, the way you tutor is very easy to follow through for a beginner, thank you so much for this videos. I am getting the hang of things.

Obie

obakenggaobuse
Автор

You should have mentioned that you included java.util.* because I wasted too much time trying to figure out why am I getting an error. Also please remake this series, the audio in 2019 is better and you are gratefully experienced.

alexschmidt
Автор

Insert arraylist takes 5955ms
Insert linkedlist takes 33029ms
Deleting arraylist takes 47ms
Deleting linkedlist takes 111ms
get front arraylist takes 0ms
get front linkedlist takes52ms
why i had the different result? Arraylist totally faster than Linkedlist@@

HoaLe-jxgg
Автор

How do u code 'System.out.println("")' so fast by just entering 'syso'? This seems not working on my computer.

hammerxu
Автор

hasNaxt() endlessly printing true, false ???

 Description Resource Path Location Type
Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment. MyFirstProjact Build path JRE System Library Problem???

vatsaljethva
Автор

The battery in your fire alarm isEmpty() == true;

Humbi
Автор

type of ListIterator<Integer> itr = myList.listIterator() ; has to be integer...not string. It gives error if define as string

pardeep
Автор

Can anybody explain the meaning of the following statement :
ListIterator<String> itr=names.listIterator();

nancyjain
Автор

Meri hand free ki left side khrab to nai ho gai

abdullahbuttar