[Neo4j] Odd Result Comparing Nodes...
Rick Bullotta
rick.bullotta at thingworx.com
Tue Oct 25 02:07:11 CEST 2011
Thanks! I had forgotten that.
On Oct 24, 2011, at 7:39 PM, "Michael Hunger" <michael.hunger at neotechnology.com> wrote:
> 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
>> User at lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>
> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
More information about the User
mailing list