key design# Java - 爪哇娇娃
p*p
1 楼
I am writing a DNS cache, map domain name and transport to DNS entry in a
Hashmap, both keys are string. I designed a key as a String=domain+transport
, well, it is not so intelligent, any other idea?
Hashmap, both keys are string. I designed a key as a String=domain+transport
, well, it is not so intelligent, any other idea?