org.crosswire.jsword.passage
Class KeyIterator.Locator
java.lang.Object
org.crosswire.jsword.passage.KeyIterator.Locator
- Enclosing class:
- KeyIterator
public static class KeyIterator.Locator
- extends Object
A helper class that remembers where we've been and where we are.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
private Key parent
position
private int position
KeyIterator.Locator
public KeyIterator.Locator(Key parent)
getParent
public Key getParent()
- Returns:
- the parent
setParent
public void setParent(Key parent)
- Parameters:
parent
- the parent to set
getPosition
public int getPosition()
- Returns:
- the position
setPosition
public void setPosition(int position)
- Parameters:
position
- the position to set