Class BabelIterator<T>
- java.lang.Object
-
- it.uniroma1.lcl.babelnet.iterators.BabelIterator<T>
-
- Type Parameters:
T
- the item type
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
BabelLexiconIterator
,BabelOffsetIterator
,BabelSynsetIterator
public abstract class BabelIterator<T> extends Object implements Iterator<T>
Abstract iterator overBabelNet
's content.- Author:
- navigli, vannella
-
-
Field Summary
Fields Modifier and Type Field Description protected int
currentIndex
protected org.apache.lucene.util.Bits
liveDocs
protected org.apache.lucene.index.IndexReader
reader
-
Constructor Summary
Constructors Modifier Constructor Description protected
BabelIterator(org.apache.lucene.search.IndexSearcher searcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, next
-
-