Class Poly.ListEnum
All Packages Class Hierarchy This Package Previous Next Index
Class Poly.ListEnum
java.lang.Object
|
+----Poly.ListEnum
- public class ListEnum
- extends Object
- implements Enumeration
ListEnum is an enumeration class for the class List. It
implements the interface java.util.Enumeration, i.e. the methods:
hasMoreElements() and nextElement(). Note that because ListEnum
implements Enumeration, the return type for nextElement() is Object
and not Poly.
-
ListEnum(List)
- ListEnum constructs a ListEnum from a List.
-
hasMoreElements()
- hasMoreElements() indicates whether there are more elements left in
the enumeration.
-
nextElement()
- nextElement returns the next element in the enumeration.
ListEnum
public ListEnum(List L)
- ListEnum constructs a ListEnum from a List.
hasMoreElements
public boolean hasMoreElements()
- hasMoreElements() indicates whether there are more elements left in
the enumeration.
nextElement
public Object nextElement()
- nextElement returns the next element in the enumeration.
All Packages Class Hierarchy This Package Previous Next Index