M
Meidan
Hi,
Is there a java class that gives the functionality of a Hashtable or a
HashMap but doesn't use the keys' equals() method, but rather a given
equality comparar? Something like IEqualityComparer in c#:
http://msdn2.microsoft.com/en-us/library/ms132151.aspx
I wouldn't want to use a TreeMap with a Comparator as I don't need any
sorting.
Thanks.
Is there a java class that gives the functionality of a Hashtable or a
HashMap but doesn't use the keys' equals() method, but rather a given
equality comparar? Something like IEqualityComparer in c#:
http://msdn2.microsoft.com/en-us/library/ms132151.aspx
I wouldn't want to use a TreeMap with a Comparator as I don't need any
sorting.
Thanks.