Intermediate Java Tutorial - 7 - LinkedList Program

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
46,075
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 7, 2010

We finish up the LinkedList program and watch it run!

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (thenewboston)

  • 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!!!

  • it only deletes a portion of the list

Top Comments

  • yea what he said

    |

    |

    |

    V

  • another nice vid

see all

All Comments (49)

Sign In or Sign Up now to post a comment!
  • 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

  • @yuene25

    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);

  • @yuene25

    loop for each of list elements

    if elements equals to name return index

  • 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...
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more