Interface Enumerator


  • public interface Enumerator
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object cursor()
      Return the element under the cursor; return null if !valid() or if called before first next() call.
      java.lang.Object next()
      Return the next element in the enumeration; first call to next() returns the first element.
      boolean valid()
      Any more elements in the enumeration?
    • Method Detail

      • cursor

        java.lang.Object cursor()
        Return the element under the cursor; return null if !valid() or if called before first next() call.
      • next

        java.lang.Object next()
        Return the next element in the enumeration; first call to next() returns the first element.
      • valid

        boolean valid()
        Any more elements in the enumeration?