Re: Iterators and removing

At 08:28 PM 4/3/98 -0500, David Peterson wrote:
>Hi Michael,
>
>Should there be any way to test whether this has happened, other than
>calling getCurrent and catching an Exception?  I guess the user will know if
>this has happened and should simply take it into account.

I don't think so ... Does anyone feel strongly that there should?

>If the removed node was the last one in the list, I assume null would be
>returned and the NodeIterator would be pointing to the previous Node, which
>is now the last one on the list.

That's what I assume as well.


Mike Champion

Received on Monday, 6 April 1998 10:34:22 UTC