org.terrier.structures.indexing
Class LexiconBuilder.FieldLexiconCollectionStaticticsCounter

java.lang.Object
  extended by org.terrier.structures.indexing.LexiconBuilder.FieldLexiconCollectionStaticticsCounter
All Implemented Interfaces:
java.io.Closeable, LexiconBuilder.CollectionStatisticsCounter
Enclosing class:
LexiconBuilder

protected static class LexiconBuilder.FieldLexiconCollectionStaticticsCounter
extends java.lang.Object
implements LexiconBuilder.CollectionStatisticsCounter

counts global statistics in the fields case


Constructor Summary
LexiconBuilder.FieldLexiconCollectionStaticticsCounter(Index _index, int _numFields)
           
 
Method Summary
 void close()
           
 void count(LexiconEntry value)
          The current count
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LexiconBuilder.FieldLexiconCollectionStaticticsCounter

public LexiconBuilder.FieldLexiconCollectionStaticticsCounter(Index _index,
                                                              int _numFields)
Method Detail

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 java.io.Closeable


Terrier 3.5. Copyright © 2004-2011 University of Glasgow