This content has been marked as final.
Show 2 replies
-
1. Re: Fully qualified names (FQNs)
izhidov Feb 23, 2004 10:43 AM (in response to belaban)I have a question about FQN. In its hashCode() calculation, it adds up the hash codes for its members. It could it lead to same hash code for two different FQNs so I was wondering if you think its a problem and what potential resolution could be.
-
2. Re: Fully qualified names (FQNs)
belaban Feb 23, 2004 5:14 PM (in response to belaban)Sure, but 2 different Strings could map to the same hashCode as well.
Hash codes don't have to be collision-free.
Bela