org.terrier.structures.indexing
Class LexiconBuilder.BasicLexiconCollectionStaticticsCounter

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

public static class LexiconBuilder.BasicLexiconCollectionStaticticsCounter
extends java.lang.Object
implements LexiconBuilder.CollectionStatisticsCounter

counts global statistics in the non-fields case


Constructor Summary
LexiconBuilder.BasicLexiconCollectionStaticticsCounter(Index _index)
          constructor
LexiconBuilder.BasicLexiconCollectionStaticticsCounter(Index _index, java.lang.String subset_name)
          constructor
 
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.BasicLexiconCollectionStaticticsCounter

public LexiconBuilder.BasicLexiconCollectionStaticticsCounter(Index _index)
constructor

Parameters:
_index -

LexiconBuilder.BasicLexiconCollectionStaticticsCounter

public LexiconBuilder.BasicLexiconCollectionStaticticsCounter(Index _index,
                                                              java.lang.String subset_name)
constructor

Parameters:
_index -
subset_name -
Method Detail

count

public void count(LexiconEntry value)
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