Package org.terrier.structures
Class MapLexicon.IdIsIndex
- java.lang.Object
-
- org.terrier.structures.MapLexicon.IdIsIndex
-
- All Implemented Interfaces:
MapLexicon.Id2EntryIndexLookup
- Enclosing class:
- MapLexicon<K1,K2 extends org.apache.hadoop.io.WritableComparable>
protected static class MapLexicon.IdIsIndex extends java.lang.Object implements MapLexicon.Id2EntryIndexLookup
Lexicon map where the termid is the term index- Author:
- Richard McCreadie
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IdIsIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex(int termid)
-
-
-
Method Detail
-
getIndex
public int getIndex(int termid)
- Specified by:
getIndex
in interfaceMapLexicon.Id2EntryIndexLookup
-
-