I have a class that is extending Java\'s ArrayList. I\'m currently using Java build 1.6.0_22-b04. Looks like this:
public class TokenSequence extends ArrayList&
The error message already provided a large hint here.
I haven't tried it, but I believe the correct implementation would be:
public void add(Token o) { }
because Token is the E in your extends statement.
Token
E