> Generic: Works with any type implementing the Event interface.
Isn’t this the opposite? Generic is usually implying any type would do.
Isn’t this the opposite? Generic is usually implying any type would do.
Generics don't mean "any type", they mean "type argument". As such, you can say "only type arguments that implement X" or similar.