org.terrier.structures.indexing
Class LexiconBuilder.FieldLexiconCollectionStaticticsCounter
java.lang.Object
org.terrier.structures.indexing.LexiconBuilder.FieldLexiconCollectionStaticticsCounter
- All Implemented Interfaces:
- Closeable, LexiconBuilder.CollectionStatisticsCounter
- Enclosing class:
- LexiconBuilder
protected static class LexiconBuilder.FieldLexiconCollectionStaticticsCounter
- extends Object
- implements LexiconBuilder.CollectionStatisticsCounter
counts global statistics in the fields case
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LexiconBuilder.FieldLexiconCollectionStaticticsCounter
public LexiconBuilder.FieldLexiconCollectionStaticticsCounter(Index _index,
int _numFields)
count
public void count(LexiconEntry value)
- Description copied from interface:
LexiconBuilder.CollectionStatisticsCounter
- The current count
- Specified by:
count
in interface LexiconBuilder.CollectionStatisticsCounter
close
public void close()
- Specified by:
close
in interface Closeable
Terrier 3.6. Copyright © 2004-2011 University of Glasgow