package com.hughes.android.dictionary.engine;
-import com.hughes.util.IndexedObject;
-public class IndexedEntry extends IndexedObject {
- AbstractEntry entry;
- public boolean isValid = false;
-
- public IndexedEntry(final AbstractEntry entry) {
- super(-1);
- this.entry = entry;
- }
-
- public void addToDictionary(Dictionary dictionary) {
- assert index == -1;
- index = entry.addToDictionary(dictionary);
- }
+public class IndexedEntry {
+ AbstractEntry entry;
+ public boolean isValid = false;
+
+ public IndexedEntry(final AbstractEntry entry) {
+ this.entry = entry;
+ }
}
\ No newline at end of file