List<Integer> list = new ArrayList<>(Arrays.asList(0,1,2,3,4,5,6,7,8,9)); list.remove(1); // [0, 2, 3, 4, 5, 6, 7, 8, 9] list.remove(Integer.valueOf(5)); // [0, 1, 2, 3, 4, 6, 7, 8, 9]