void bar(List v) { for(int i = 0; i < 10; i++ ) { v.add(new Integer(i)); } }