Re: Behavior of NodeIterator.toNext()

>  > NodeIterator ni = some_node.getChildNodes();
>  > Node node = ni.toNext();
>  >
>  >In this code, is a variable `node' the first child? Or second
>  >child?
> 
> I plead for an explicitly "undefined" position where getCurrent() returns null.
>	:
>	:

Ok, I have understood and agree it.  Programmers must not call
toNext()/toPrevious()/getCurrent() before calling
toFirst()/toLast()/toNth()/toNode().

-- 
TAMURA Kent @ Tokyo Research Laboratory, IBM Japan

Received on Wednesday, 8 April 1998 01:27:04 UTC