/** * <P> * Returns an Iterator object that can be used to cycle over the range of * pollable address information. * </P> * * @return a {@link java.util.Iterator} object. */ @Override public Iterator<IPPollAddress> iterator() { return new IPPollRangeGenerator(m_range.elements()); }
/** * <P> * Returns an Enumeration that can be used to cycle over the range of * pollable addresses. * </P> * * @return a {@link java.util.Enumeration} object. */ public Enumeration<IPPollAddress> elements() { return new IPPollRangeGenerator(m_range.elements()); }