org.terrier.structures
Class MapLexicon.IdIsIndex

java.lang.Object
  extended by org.terrier.structures.MapLexicon.IdIsIndex
All Implemented Interfaces:
MapLexicon.Id2EntryIndexLookup
Enclosing class:
MapLexicon

protected static class MapLexicon.IdIsIndex
extends Object
implements MapLexicon.Id2EntryIndexLookup

Lexicon map where the termid is the term index

Author:
richardm

Constructor Summary
protected MapLexicon.IdIsIndex()
           
 
Method Summary
 int getIndex(int termid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapLexicon.IdIsIndex

protected MapLexicon.IdIsIndex()
Method Detail

getIndex

public int getIndex(int termid)
Specified by:
getIndex in interface MapLexicon.Id2EntryIndexLookup


Terrier 3.6. Copyright © 2004-2011 University of Glasgow