Skip to content

Commit e8e99ed

Browse files
committed
Generics examples
1 parent c54195a commit e8e99ed

File tree

6 files changed

+1825
-9
lines changed

6 files changed

+1825
-9
lines changed

TOPICS_PLAN.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,15 @@ All pattern matching features below are **finalized and production-ready** in Ja
150150

151151
### 8. generics/ - Generics
152152

153-
| Status | Example | Concepts |
154-
|--------|-----------------------|---------------------------------------------|
155-
| [ ] | GenericsBasicsExample | Generic classes, methods, type parameters |
156-
| [ ] | WildcardsExample | ?, extends, super - PECS principle |
157-
| [ ] | TypeErasureExample | How erasure works, limitations, workarounds |
158-
| [ ] | BoundedTypesExample | Upper/lower bounds, multiple bounds |
159-
| [ ] | GenericMethodsExample | Static generic methods, type inference |
153+
Core language feature, unchanged since Java 5. Essential for type-safe programming.
154+
155+
| Status | Example | Concepts |
156+
|--------|-----------------------|------------------------------------------------------|
157+
| [x] | GenericsBasicsExample | Generic classes, interfaces, diamond operator |
158+
| [x] | WildcardsExample | ?, extends, super - PECS principle, wildcard capture |
159+
| [x] | TypeErasureExample | How erasure works, limitations, workarounds |
160+
| [x] | BoundedTypesExample | Upper/multiple bounds, recursive bounds, Comparable |
161+
| [x] | GenericMethodsExample | Static generic methods, type inference, varargs |
160162

161163
---
162164

@@ -192,7 +194,7 @@ All pattern matching features below are **finalized and production-ready** in Ja
192194
| oop | Complete | 6/6 |
193195
| pattern | Complete | 6/6 |
194196
| strings | Not Started | 0/5 |
195-
| generics | Not Started | 0/5 |
197+
| generics | Complete | 5/5 |
196198
| exceptions | Not Started | 0/4 |
197199
| io | Not Started | 0/3 |
198-
| **Total** | | **46/63** |
200+
| **Total** | | **51/63** |

0 commit comments

Comments
 (0)