org.crosswire.jsword.passage
Class KeyIterator.Locator

java.lang.Object
  extended by 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.


Field Summary
private  Key parent
           
private  int position
           
 
Constructor Summary
KeyIterator.Locator(Key parent)
           
 
Method Summary
 Key getParent()
           
 int getPosition()
           
 void setParent(Key parent)
           
 void setPosition(int position)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

private Key parent

position

private int position
Constructor Detail

KeyIterator.Locator

public KeyIterator.Locator(Key parent)
Method Detail

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

Copyright ยจ 2003-2007