/** * <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> * If there are more elements left in the iteration then a value of true * is returned. Else a false value is returned. * </P> */ @Override public boolean hasNext() { return hasMoreElements(); }
/** * <P> * Returns the next object in the iteration and increments the internal * pointer. * </P> * * @exception java.util.NoSuchElementException * Thrown if there are no more elements in the iteration. */ @Override public IPPollAddress next() { return nextElement(); }
/** * <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()); }