*/
public int nextNode()
{
// If the cache is on, and the node has already been found, then
// just return from the list.
NodeVector vec = getVector();
if (null != vec)
{
// There is a cache
if(m_next < vec.size())
{
// The node is in the cache, so just return it.
int next = vec.elementAt(m_next);
m_next++;
return next;
}
else if(cacheComplete() || (-1 != m_last) || (null == m_iter))
{