Closed szschaler closed 1 year ago
I frequently use Pair as the key for a cache or similar lookup. Unfortunately, Pair doesn't actually implement hashCode and equals in a useful manner, so doesn't really work as a cache key. Need to replace with proper objects.
Pair
hashCode
equals
I frequently use
Pair
as the key for a cache or similar lookup. Unfortunately,Pair
doesn't actually implementhashCode
andequals
in a useful manner, so doesn't really work as a cache key. Need to replace with proper objects.