Manipulating data is central to almost everything you do as a developer. You know the routine: Pull the data from a database, store it in a Dataset, and display it to the user. Often, the application ...
Event-driven design has been around for quite some time. Within Java, both AWT (Abstract Window Toolkit) and Swing are based on an event model. Java provides the classes EventQueue, AWTEvent, ...
Almost every article or lecture about generics touches on collections and shows how to build a Stack<T>. Collections and stack building are an obvious choice, but generics have many other uses.
Generics make your code more flexible and easier to read, and they help you avoid ClassCastExceptions at runtime. Get started with this introduction to using generics with the Java Collections ...