On Tue, Mar 15, 2011 at 5:17 PM, Massimo Lusetti <mluse...@gmail.com> wrote: > It's safe to use Node in a Set<Node>... I don't see it implements > equals() nor hashCode()
Of course it does! Node is the interface implemented by NodeProxy - the objects you get back and use as Nodes. NodeProxy implement equals() and hashCode() based on the id of the Node. Using them in a Collection<Node> is safe. > Cheers > -- > Massimo > http://meridio.blogspot.com cheers, CG _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user