it.unimi.di.mg4j.search
Class AbstractCompositeDocumentIterator.AbstractCompositeIntervalIterator
java.lang.Object
it.unimi.di.mg4j.search.AbstractCompositeDocumentIterator.AbstractCompositeIntervalIterator
- All Implemented Interfaces:
- IntervalIterator
- Direct Known Subclasses:
- AndDocumentIterator.AndIntervalIterator, ConsecutiveDocumentIterator.ConsecutiveIntervalIterator, OrderedAndDocumentIterator.OrderedAndIntervalIterator, OrDocumentIterator.OrIntervalIterator
- Enclosing class:
- AbstractCompositeDocumentIterator
protected abstract static class AbstractCompositeDocumentIterator.AbstractCompositeIntervalIterator
- extends Object
- implements IntervalIterator
An abstract interval iterator. Provide mainly storage for the component interval iterators,
place for the last interval returned by each iterator and toString()
.
intervalIterator
protected IntervalIterator[] intervalIterator
- The underlying iterators.
curr
protected Interval[] curr
- The last interval returned by each iterator.
AbstractCompositeDocumentIterator.AbstractCompositeIntervalIterator
public AbstractCompositeDocumentIterator.AbstractCompositeIntervalIterator(int n)
toString
public String toString()
- Overrides:
toString
in class Object