@akarnokd was right. i didn't need the <? extends T>