public class TraceabilityIterator extends Object implements Iterator<LogbookOperation>
Constructor and Description |
---|
TraceabilityIterator(com.mongodb.client.MongoCursor<LogbookOperation> mongoCursor) |
Modifier and Type | Method and Description |
---|---|
String |
endDate() |
long |
getNumberOfLine() |
boolean |
hasNext()
Returns
true if the iteration has more elements. |
LogbookOperation |
next()
Returns the next element in the iteration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public TraceabilityIterator(com.mongodb.client.MongoCursor<LogbookOperation> mongoCursor)
mongoCursor
- of logbook operationpublic boolean hasNext()
true
if the iteration has more elements. (In other words, returns true
if next()
would return an element rather than throwing an exception.)hasNext
in interface Iterator<LogbookOperation>
true
if the iteration has more elementspublic LogbookOperation next()
next
in interface Iterator<LogbookOperation>
public String endDate()
public long getNumberOfLine()
Copyright © 2018 Vitam. All rights reserved.