uk.ac.gla.dcs.renaissance.mg4j.documents
Class WordPointer

java.lang.Object
  extended by uk.ac.gla.dcs.renaissance.mg4j.documents.Pointer
      extended by uk.ac.gla.dcs.renaissance.mg4j.documents.WordPointer

public class WordPointer
extends Pointer

Author:
B. Piwowarski

Field Summary
 
Fields inherited from class uk.ac.gla.dcs.renaissance.mg4j.documents.Pointer
position
 
Constructor Summary
WordPointer(int position, int wordId, int mg4jPosition)
           
 
Method Summary
 int getIndexPosition()
          Get the position in the index
 int getWordId()
          Fetches the pointer position
 String toString()
           
 
Methods inherited from class uk.ac.gla.dcs.renaissance.mg4j.documents.Pointer
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WordPointer

public WordPointer(int position,
                   int wordId,
                   int mg4jPosition)
Method Detail

getWordId

public int getWordId()
Fetches the pointer position

Returns:
the pointer position

getIndexPosition

public int getIndexPosition()
Get the position in the index


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.