On 6 Jan 2010, at 14:33, Emil Eifrem wrote:

> On Wed, Jan 6, 2010 at 15:29, Tim Langley <[email protected]> wrote:
>> When I try to access the collection (getAllNodes)
>> for example to see how large the result set is then the traverser is 
>> automatically dumped to the last node (or reset)
> 
> That's the expected result. getAllNodes() is a convenient method that
> basically iterates through the result set for you and return it as a
> collection.

Thank you for the clarification - (whilst this is a little naughty :) 
Would it be possible to slightly change the implementation?

I would expect (in this case) that the Iterator

Traverser.iterator()

and

Traverser.getAllNodes().iterator() 

should be the same object?

T


> Looking through the javadoc, we obviously need to improve and clarify
> that point. Thanks.
> 
> Cheers,
> 
> -- 
> Emil Eifrém, CEO [[email protected]]
> Neo Technology, www.neotechnology.com
> Cell: +46 733 462 271 | US: 206 403 8808
> http://blogs.neotechnology.com/emil
> http://twitter.com/emileifrem
> _______________________________________________
> Neo mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user

Tel:            +44 7989 539363
Email:  [email protected]
Web:    http://www.linkedin.com/in/langleytim
Skype:  LangleyTim
Twitter:        @TimLangley

_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to