Class IOKit.IOIterator

All Implemented Interfaces:
NativeMapped
Enclosing interface:
IOKit

public static class IOKit.IOIterator extends IOKit.IOObject
An IOKit iterator handle.
  • Constructor Details

    • IOIterator

      public IOIterator()
    • IOIterator

      public IOIterator(Pointer p)
  • Method Details

    • next

      public IOKit.IORegistryEntry next()
      Convenience method for IOKit.IOIteratorNext(IOKit.IOIterator) on this object.
      Returns:
      If the iterator handle is valid, the next element in the iteration is returned, otherwise null is returned. The element should be released by the caller when it is finished.