Hi,

Anothor bug like feature I just found. :-)

Node#getRelationships() return an Iterablle, from which I can get an 
Iterator. This Iterator (actually IntArrayIterator) however doesn't 
implement the full Iterator interface as it throws an 
UnsupportedOperationException() when remove() is called on it. (APi 
documentationd doesn't mention this restriction)

Is there any reason why this Iterator cannot implement remove()?

I now have a wrapper around it, where I call delete() on the last 
Relationship returned by next().

Regards,
---
balazs
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to