Week 9 Recap CSE 115 Spring 2007 Collections “Buckets” that can help us carry around large numbers of objects. Main functionality: – Insert – Delete – Find Collections in Java java.util.Collection interface Many pre-built collections that implement this interface 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<Cat> bagOfCats; Applications Stand alone applications. Execution begins in a method named main. Applications need to create a JFrame so that we can have a window on the screen. Timers for Animation Can use a Timer to help us control animation of all the elements on the screen.