public static void main(String[] args) {
		List<String> list = new ArrayList<String>(
				Arrays.asList("cat", "dog", "horse")
		);
		System.out.println(list);
		
		Iterator<String> it = list.iterator();
		while (it.hasNext()) {
			System.out.println(it.next());
			it.remove();
			System.out.println(list);
		}
	}