Class Notes (834,800)
Canada (508,727)
COMP 2710 (31)
Tina Yu (20)
Lecture

140319 - LinkedLists - Iterators.doc

1 Page
113 Views
Unlock Document

Department
Computer Science
Course
COMP 2710
Professor
Tina Yu
Semester
Winter

Description
ExerciseTelephone exampleArrayListAppointmentsLinkListMore lookupsgetArrayListMore add and removeLinkedListArrayList add and remove requires copying everything after the element added or removedLinkedListIndex and Iteratorscan use a ListIteratorListIteratorString iteremployeeNameslistIterator returns an iterator object iterator is like a cursoriteratornext moves the cursor to the right oneiteratoraddJadds the element after the cursor then moves the cursor to The type must match the LinkedList typeCan print without calling toStringSystemoutprintlnlinkedListIterato
More Less

Related notes for COMP 2710

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit