import java.util.*; public class Test { void method(List<Integer> l) { for (Integer integer : l) { System.out.println(integer.hashCode()); } } }