No because they might be two different objects (node-proxies pointing to 
node-manager) in memory.

But node1.equals(node2) evaluates to true.

Michael

Am 24.10.2011 um 15:22 schrieb Rick Bullotta:

> I guess I never tried/noticed this before, but if two Node objects refer to 
> the same node (getId() == the same), shouldn't the following evaluate as true?
> 
> Node node1;
> Node node2;
> 
> ....somehow they get set...
> 
> If(node1 == node2) {
> }
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user

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

Reply via email to