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&
You need to do:
public boolean add(Token o) { }
Because ArrayList is a generic.