Open bhargav opened 7 years ago
In the Entity Relation example datastructures, calling .hashcode on any of the items causes an StackOverflow due to unbounded recursion.
.hashcode
This leads to unbounded recursion. Thus, cannot add these instances in a HashSet or HashMap (as keys).
In the Entity Relation example datastructures, calling
.hashcode
on any of the items causes an StackOverflow due to unbounded recursion..hashcode
on tokens and relations in the sentence..hashcode
on the sentence object..hashcode
on its two entity tokens and sentence object.This leads to unbounded recursion. Thus, cannot add these instances in a HashSet or HashMap (as keys).