Generics#
This section will provide a thorough lesson on generics.
This chapter will incrementally introduce you to generics by:
Showing you how to use ArrayList instead of arrays
Provide an overview of the classes in the Java Collection Framework (Stack, Queue, Map)
Showing you how to create a generic method and class yourself
Explaining Constraint Typing
Reviewing Type Erasure and limitations of generics
- Lesson G1: ArrayList
- Practice: ArrayList
- Lesson G2: Stack & Queue
- Postfix Visualizer
- Lesson G3: Shunting Yard
- Shunting Yard Visualizer
- Practice: Shunting Yard
- Lesson G4: Maps
- Practice: Maps
- Lesson G5: Collections
- Lesson G6: Generics
- Lesson G7: Constraint Typing
- Practice: Contraint Typing
- Lesson G8: Type Erasure