Class AssocArray.PairEnumeration

java.lang.Object
com.portal.pcm.AssocArray.PairEnumeration
All Implemented Interfaces:
Enumeration<Object>
Direct Known Subclasses:
SparseArray.SAPairEnumeration
Enclosing class:
AssocArray

public class AssocArray.PairEnumeration extends Object implements Enumeration<Object>
An implementation of Enumeration that iterates over pairs of objects. This class provides a way to enumerate over a collection of AssocArray.Pair objects.

The PairEnumeration class maintains an internal index to keep track of the current position in the enumeration. It assumes that there are corresponding lists of keys and values from which it creates AssocArray.Pair objects to return.