Probably you meant to use java.util.List