You are trying to add String but actually the arraylist is of type Call. Reference the Java 7 API and leave the old habit of creating List.


List<Integer> list = new ArrayList<>();