Intel

Developer Zone

Enumerator

com.intel.langutil

Interface Enumerator



  • public interface Enumerator
    This class provides basic interface for objects enumerator. For example, it can be used for enumerating all objects in a List.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      java.lang.Object getNext()
      Returns the next element in the container
      boolean hasNext()
      Returns whether the container has more elements
    • Method Detail

      • hasNext

        boolean hasNext()
        Returns whether the container has more elements
        Returns:
        Returns whether the container has more elements
      • getNext

        java.lang.Object getNext()
        Returns the next element in the container
        Returns:
        Returns the next element in the container