edu.brandeis.cs.steele.wn
Class FileManager.NextLineCache

java.lang.Object
  extended by edu.brandeis.cs.steele.wn.FileManager.NextLineCache
Enclosing class:
FileManager

protected class FileManager.NextLineCache
extends java.lang.Object


Field Summary
protected  java.lang.String filename
           
protected  long next
           
protected  long previous
           
 
Constructor Summary
protected FileManager.NextLineCache()
           
 
Method Summary
(package private)  long getNextOffset()
           
(package private)  boolean matchingOffset(java.lang.String filename, long offset)
           
(package private)  void setNextLineOffset(java.lang.String filename, long previous, long next)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filename

protected java.lang.String filename

previous

protected long previous

next

protected long next
Constructor Detail

FileManager.NextLineCache

protected FileManager.NextLineCache()
Method Detail

setNextLineOffset

void setNextLineOffset(java.lang.String filename,
                       long previous,
                       long next)

matchingOffset

boolean matchingOffset(java.lang.String filename,
                       long offset)

getNextOffset

long getNextOffset()