What's the diff between concurrentHashMap and FastMap.shared
Posted: Mon May 26, 2014 5:33 am
they all both thread safe。
am I right?
am I right?
L2J Server Discussion Board
https://l2jserver.com/forum/
FastMap is sorted by insert order, the other "thread-safe" sorted map is ConcurrentSkipListMap which is sorted by natural order of keys.Nos wrote:Yes but FastMap is sorted its like a thread-safe LinkedHashMap