org.crosswire.jsword.book.sword
Class ZLDBackend.IndexKey
java.lang.Object
org.crosswire.jsword.passage.DefaultLeafKeyList
org.crosswire.jsword.book.sword.ZLDBackend.IndexKey
- All Implemented Interfaces:
- Cloneable, Comparable, Iterable, Key
- Enclosing class:
- ZLDBackend
static class ZLDBackend.IndexKey
- extends DefaultLeafKeyList
A Key that knows where the data is in the real file.
Field Summary |
protected int |
offset
|
protected int |
size
|
Method Summary |
Object |
clone()
This needs to be declared here so that it is visible as a method
on a derived Key. |
Methods inherited from class org.crosswire.jsword.passage.DefaultLeafKeyList |
addAll, blur, canHaveChildren, clear, compareTo, contains, equals, get, getChildCount, getName, getName, getOsisID, getOsisRef, getParent, hashCode, indexOf, isEmpty, iterator, removeAll, retainAll, toString |
offset
protected int offset
size
protected int size
ZLDBackend.IndexKey
protected ZLDBackend.IndexKey(String text,
int offset,
int size,
Key parent)
- Setup with the key name and positions of data in the file
ZLDBackend.IndexKey
protected ZLDBackend.IndexKey(String text)
- Setup with the key name. Use solely for searching.
clone
public Object clone()
- Description copied from interface:
Key
- This needs to be declared here so that it is visible as a method
on a derived Key.
- Specified by:
clone
in interface Key
- Overrides:
clone
in class DefaultLeafKeyList
- Returns:
- A complete copy of ourselves