Reading material

If you use the first edition of the textbook, follow the reading material in orange. If you use the second edition, follow the reading material in brown.

(1st) page 132 (Section 4.3.1), pages 137-138 (Section 4.5), pages 145-151 (Section 5.1-5.1.3), pages 164-165 (Section 5.3.2), pages 94-95 (Section 3.4.2), pages 32-35 (Section 2.2)

(2nd) page 206 (Section 5.3.1), pages 214-218 (Section 5.5-5.6), pages 229-236 (Section 6.1-6.1.3), pages 247-248 (Section 6.3.1-6.3.2), pages 171-172 (Section 4.4.3) pages 100-103 (Section 3.2)

Additional material

Interfaces

java.util.Enumeration
java.util.Iterator
java.util.Vector

DequeStack

Question

Complete the following methods using the method positions.

/**
 * Multiplies all the integers stored in the specified
 * positional sequence/list by 2.
 *
 * @param vector Positional sequence/list whose elements
 * are integers.
 */
public static void double(List list)
{

}

The method elements of the class java.util.Vector returns an object of type java.util.Enumeration. Of which class is this object an instance?