Interface TraceabilityIterator<T>

  • Type Parameters:
    T - The kind of iterable data
    All Superinterfaces:
    java.util.Iterator<T>
    All Known Implementing Classes:
    LogbookTraceabilityIterator

    public interface TraceabilityIterator<T>
    extends java.util.Iterator<T>
    Specific iterator that must be able to compute the size of the iterator (after iteration over data) and an end date
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getNumberOfLines()
      Warning: This method should only calculate the iterated data.
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next, remove
    • Method Detail

      • 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