[Instructions] [Search] [Current] [Syllabus] [Links] [Handouts] [Outlines] [Labs] [More Labs] [Assignments] [Quizzes] [Examples] [Book] [Tutorial] [API]
Back to Special Discussion. On to Discussion of Exam 1.
Held Friday, March 5
Summary
Contents
Notes
map.
tail
of a list and then modify that tail, do we modify the original list?
// Assume l is the list 3,6,8,32 lprime = l.tail(); lprime.addToHead(new Integer(5)); System.out.println(l.tail().head());
// Assume l is the list 3,6,8,32 lprime = l.tail(); lprime.remove(new Integer(8)); System.out.println(l.contains(new Integer(8)));
History
Back to Special Discussion. On to Discussion of Exam 1.
[Instructions] [Search] [Current] [Syllabus] [Links] [Handouts] [Outlines] [Labs] [More Labs] [Assignments] [Quizzes] [Examples] [Book] [Tutorial] [API]
Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.
This page may be found at http://www.math.grin.edu/~rebelsky/Courses/CS152/99S/Outlines/outline.24.html
Source text last modified Fri Mar 5 10:39:31 1999.
This page generated on Sun Mar 28 14:07:44 1999 by SiteWeaver. Validate this page's HTML.
Contact our webmaster at rebelsky@math.grin.edu