Collections

Students in this class have such varied backgrounds that there are some coding skill quite familiar to some and yet others that are new.

On the first set of notes, I suggested knowledge of the data types of lists, stacks and queues and provided a list of some that Java provides as shown below.

Additional Readings:
Chapters 5, 6, 7 (possibly new), 8, 9, 10 should be skimmed over to see what you remember (or don't). You can look at the author's page with solutions to problems. (Answers to odd numbers are at the text pages Exercise Solutions)

Hopefully in your previous classes you actually had to implement lists, stacks and queues. Once you have done the work and know their potentials, then you can appreciate Java's classes:


In the Iterable, java.util.Collections in the Collections Frameworks:

For constructs that have proven useful in the past there are nice additions in Java 1.5:

These are very useful! I have a page with information on these HERE .
For example, there is a link to the Core Java chapter on Collections as well as some explanation and links to Java tutorials.

I made the page initially for the CSCI 511 class so ignore specific class references but you might find the information very useful for your code. Our class (CSCI 311) also discusses and uses Generics and Collections in the text.