java-generics
Installation
SKILL.md
Java Generics
Master Java's generics system for writing type-safe, reusable code with compile-time type checking, generic classes, methods, wildcards, and type bounds.
Introduction to Generics
Generics enable types to be parameters when defining classes, interfaces, and methods, providing compile-time type safety.
Basic generic class:
public class Box<T> {
private T content;