| | Collection Classes - slide 2 : 36 |
A historic View on Collection Programming
- Native arrays and custom made lists
- Fixed sized arrays - limited set of operations
- Variable sized linked lists - direct pointer manipulation
- First generation collection classes
- Elements of type Object - Flexible sizing - Rich repertoire of operations
- Type unsafe - Casting - Inhomogeneous collections
- Second generation collection classes
- The flexibility of the first generation collections remains
- Type safe - Generic - Type parameterized - Homogeneous
Modern collection libraries blur the distinction between arrays and lists