Presentation is loading. Please wait.

Presentation is loading. Please wait.

Week 9 Recap CSE 115 Spring 2007. Collections “Buckets” that can help us carry around large numbers of objects. “Buckets” that can help us carry around.

Similar presentations


Presentation on theme: "Week 9 Recap CSE 115 Spring 2007. Collections “Buckets” that can help us carry around large numbers of objects. “Buckets” that can help us carry around."— Presentation transcript:

1 Week 9 Recap CSE 115 Spring 2007

2 Collections “Buckets” that can help us carry around large numbers of objects. “Buckets” that can help us carry around large numbers of objects. Main functionality: Main functionality: –Insert –Delete –Find

3 Collections in Java java.util.Collection interface java.util.Collection interface Many pre-built collections that implement this interface Many pre-built collections that implement this interface

4 Generics in Java  When we use a collection, we need to tell Java what type of thing is contained in the collection  java.util.Collection bagOfCats;

5 Applications Stand alone applications. Stand alone applications. Execution begins in a method named main. Execution begins in a method named main. Applications need to create a JFrame so that we can have a window on the screen. Applications need to create a JFrame so that we can have a window on the screen.

6 Timers for Animation Can use a Timer to help us control animation of all the elements on the screen. Can use a Timer to help us control animation of all the elements on the screen.


Download ppt "Week 9 Recap CSE 115 Spring 2007. Collections “Buckets” that can help us carry around large numbers of objects. “Buckets” that can help us carry around."

Similar presentations


Ads by Google