import java.util.ArrayList; import java.util.List; class Test { { List> l = new ArrayList<>>(); } }