Package it.unimi.di.big.mg4j.search
Class AbstractCompositeDocumentIterator.AbstractCompositeIntervalIterator
- java.lang.Object
-
- it.unimi.di.big.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 andtoString()
.
-
-
Field Summary
Fields Modifier and Type Field Description protected Interval[]
curr
The last interval returned by each iterator.protected IntervalIterator[]
intervalIterator
The underlying iterators.
-
Constructor Summary
Constructors Constructor Description AbstractCompositeIntervalIterator(int n)
-
-
-
Field Detail
-
intervalIterator
protected IntervalIterator[] intervalIterator
The underlying iterators.
-
curr
protected Interval[] curr
The last interval returned by each iterator.
-
-