// Textbook fragment 06.14 List values; // ... statements that create a new values list and fill it with Integers... int sum = 0; for (Integer i : values) sum += i; // unboxing allows this