Class EnumerationIterator<T>

java.lang.Object
org.jboss.vfs.spi.EnumerationIterator<T>
Type Parameters:
T - the element type
All Implemented Interfaces:
Iterator<T>

class EnumerationIterator<T> extends Object implements Iterator<T>
An enumeration iterator.
  • Field Details

  • Constructor Details

    • EnumerationIterator

      EnumerationIterator(Enumeration<T> entries)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<T>