public class BinaryCoOccurrenceReader<T extends SequenceElement> extends java.lang.Object implements CoOccurenceReader<T>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
Constructor and Description |
---|
BinaryCoOccurrenceReader(java.io.File file,
VocabCache<T> vocabCache,
CountMap<T> map) |
Modifier and Type | Method and Description |
---|---|
void |
finish() |
boolean |
hasMoreObjects() |
CoOccurrenceWeight<T> |
nextObject() |
public BinaryCoOccurrenceReader(@NonNull java.io.File file, @NonNull VocabCache<T> vocabCache, CountMap<T> map)
public boolean hasMoreObjects()
hasMoreObjects
in interface CoOccurenceReader<T extends SequenceElement>
public CoOccurrenceWeight<T> nextObject()
nextObject
in interface CoOccurenceReader<T extends SequenceElement>
public void finish()
finish
in interface CoOccurenceReader<T extends SequenceElement>