Adding a single collection to hold all of the objects managed.
- By Kevlin Henney
- July 17, 2000
Patterns in Java
Collections for States
Kevlin Henney
Listing 5. Adding a single collection to hold all of the objects managed.
public class Application
{
...
Collection workpieces, saved, changed;
...
}
About the Author
Kevlin Henney is a Principal Technologist with QA Training in the UK.