Interface TraceabilityIterator<T>
- Type Parameters:
T
- The kind of iterable data
- All Superinterfaces:
Iterator<T>
- All Known Implementing Classes:
LogbookTraceabilityIterator
Specific iterator that must be able to compute the size of the iterator (after iteration over data) and an end date
-
Method Summary
Modifier and TypeMethodDescriptionlong
Warning: This method should only calculate the iterated data.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
getNumberOfLines
long getNumberOfLines()Warning: This method should only calculate the iterated data. The real result should be found when no "hasNext()" item left- Returns:
- current size of the iterator
-