]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/engine/RowWithIndex.java
go
[Dictionary.git] / src / com / hughes / android / dictionary / engine / RowWithIndex.java
index 00d7db805de4795dfe58b63b54a593ba4d772109..b947ff8eebbda89737f585dc568b42ccb67177a7 100644 (file)
@@ -4,16 +4,16 @@ import java.io.IOException;
 import java.io.RandomAccessFile;
 
 public abstract class RowWithIndex implements Row {
-  final Dictionary.Index index;
+  final Index index;
   int thisRowIndex;
   int referenceIndex;
 
   TokenRow tokenRow = null;
   
-  RowWithIndex(final RandomAccessFile raf, final int thisRowIndex, final Dictionary.Index index) throws IOException {
+  RowWithIndex(final RandomAccessFile raf, final int thisRowIndex, final Index index) throws IOException {
     this.index = index;
-    this.thisRowIndex = thisRowIndex;
-    this.referenceIndex = raf.readInt();
+    this.thisRowIndex = thisRowIndex;  // where this was inside the list.
+    this.referenceIndex = raf.readInt();  // what this points to.
   }
 
   @Override