|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HistoryLogIterator
HistoryLogIterator iterates over HistoryLogEntry
objects.
All objects returned by the next() method are of type
HistoryLogEntry.
Note. This iterator does NOT support the remove() operation.
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
HistoryLogEntry |
next()
Returns the next element in the iteration. |
HistoryLogEntry |
nextLogEntry()
Deprecated. use next() instead |
void |
remove()
This method is not implemented. |
| Method Detail |
|---|
boolean hasNext()
next() would return an element
rather than throwing an exception.)
hasNext in interface java.util.Iterator<HistoryLogEntry>HistoryLogEntry next()
HistoryLogEntry.
The common practice is to cast the object returned by
next() to a HistoryLogEntry.
The hasNext() method should be called first to ensure
there is a next element in the iteration, otherwise an exception
may be thrown.
next in interface java.util.Iterator<HistoryLogEntry>java.util.NoSuchElementException - if the iteration has no more elements.@Deprecated HistoryLogEntry nextLogEntry()
next() instead
HistoryLogEntry in the interation.
The hasNext() method should be called first to ensure
there is a next element in the iteration, otherwise an exception
may be thrown.
HistoryLogEntry in the iteration.
java.util.NoSuchElementException - if the iteration has no more elements.void remove()
UnsupportedOperationException being thrown.
remove in interface java.util.Iterator<HistoryLogEntry>java.lang.UnsupportedOperationException - each time the method is called
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||