public static class Advapi32Util.EventLogIterator extends Object implements Iterable<Advapi32Util.EventLogRecord>, Iterator<Advapi32Util.EventLogRecord>
Constructor and Description |
---|
EventLogIterator(String sourceName) |
EventLogIterator(String serverName,
String sourceName,
int flags) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Call close() in the case when the caller needs to abandon the
iterator before the iteration completes.
|
boolean |
hasNext() |
Iterator<Advapi32Util.EventLogRecord> |
iterator() |
Advapi32Util.EventLogRecord |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
forEachRemaining
public EventLogIterator(String sourceName)
public void close()
public Iterator<Advapi32Util.EventLogRecord> iterator()
iterator
in interface Iterable<Advapi32Util.EventLogRecord>
public boolean hasNext()
hasNext
in interface Iterator<Advapi32Util.EventLogRecord>
public Advapi32Util.EventLogRecord next()
next
in interface Iterator<Advapi32Util.EventLogRecord>
public void remove()
remove
in interface Iterator<Advapi32Util.EventLogRecord>