EventIterator (Java Debug Interface )
Keywords: com.sun.jdi.event.EventIterator interface
Date: 2018-07-01

com.sun.jdi.event

## Interface EventIterator

- All Superinterfaces:
    Iterator<Event>

      @Exported
      public interface EventIterator
      extends Iterator<Event>

  EventIterators are unmodifiable.
  Since:
    1.3
  See Also:
    `Event`, `EventSet`, `Set.iterator()`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Event` | `nextEvent()`

    - ### Methods inherited from interface java.util.Iterator

      `forEachRemaining, hasNext, next, remove`

- - ### Method Detail

    - #### nextEvent

          Event nextEvent()

      Returns:
        The next `Event` in an `EventSet`.

Copyright © 1999, 2018, Oracle and/or its affiliates. All rights reserved.