Intermediate Java Tutorial - 7 - LinkedList Program
Uploader Comments (thenewboston)
Top Comments
-
yea what he said
|
|
|
V
-
another nice vid
All Comments (49)
-
Hey buckey bro, i am your big fan and now i need some tutorial on software development from you . Can you help me????
-
could someone explain the iterator
-
just like for(int i=0; i<list1.size();i++){ if(list1.get(i).equals("goats"
)) System.out.printf("%s_%d ",list1.get(i), i ); System.out.println(); } create a method that takes a string u wanna search and
equals(searchedstring);
-
-
i'm doing a project in my computer science class where we use 3 array lists to represent a playlist, like in itunes. one of the method requires me to return a type playlist, which in the program would be equal to 2 string array lists and 1 int array list. how would i do this?
-
how to search a string in your list??? Example: list.add("Allemon, Diane 235"); list.add("Baranek, Marsha 568"); list.add("Bearrance, Susan 987"); list.add("Foster, Catherine 387"); list.add("Bears, Linda 456"); list.add("Bloomhuff, Deborah 753"); list.add("Drabant, Paige 159"); list.add("Felcyn, Kenneth 645"); list.add("Kardynal, Vicky 268"); list.add("Koch, Christine 657"); if i want to search "Felcyn, Kenneth 645" what i'm going to do? what syntax.....??? pls answer.............
-
why cant u go list.printme, instead of doing the for loops?.off course creating the print method, before hand.
- Loading comment...
Hey, I did not understand how
l.subList(from, to).clear()
worked?
Can any one explain?? I would be glad.
According to me l.subList() will return a List... and then calling clear() on that List will return an empty List!!!
heySourabh 2 years ago 5
it only deletes a portion of the list
thenewboston 2 years ago 15