Enumeration (Java Platform SE 8 ) - Oracle Help Center
An object that implements the Enumeration interface generates a series of elements, one at a time. Successive calls to the nextElement method return successive elements of the series. For example, to print all elements of a Vector v: for (Enumeration...