public class LogbookTraceabilityIterator extends Object implements TraceabilityIterator<LogbookOperation>
| Constructor and Description |
|---|
LogbookTraceabilityIterator(com.mongodb.client.MongoCursor<LogbookOperation> mongoCursor) |
| Modifier and Type | Method and Description |
|---|---|
long |
getNumberOfLines()
Warning: This method should only calculate the iterated data.
|
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, waitforEachRemaining, removepublic LogbookTraceabilityIterator(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 long getNumberOfLines()
TraceabilityIteratorgetNumberOfLines in interface TraceabilityIterator<LogbookOperation>Copyright © 2018 Vitam. All rights reserved.