Skip to content
Advertisement

Java override abstract generic method

I have the following code

JavaScript

However I don’t know how to do this, as I cannot override doEventStuff with something specific.

Does anyone know how to do this?

Advertisement

Answer

It’s not really clear what you’re trying to do, but perhaps you just need to make Event itself generic:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement