Hi,
I am trying to maintain a Set of DBNode Object But, it was not working properly because DBNode is not overriding the equals() and hashcode() methods. Due to this reason i am facing difficulty to maintain similar DBNode. Looking forward for help.
Thanks & Regards Ankit Kumar
Hello Ankit,
I don't quite get the problem or what we are supposed to do. Why don't you simply write your own class extending DBNode, overwrite the methods and store these in a set?
Cheers Dirk
On 02/24/2015 01:19 PM, ankit kumar wrote:
Hi,
I am trying to maintain a Set of DBNode Object But, it was not working properly because DBNode is not overriding the equals() and hashcode() methods. Due to this reason i am facing difficulty to maintain similar DBNode. Looking forward for help.
Thanks & Regards Ankit Kumar
basex-talk@mailman.uni-konstanz.de