2
的地圖如何爲以下地圖的地圖指定比較如何指定比較了以下地圖
ConcurrentSkipListMap<byte[], ConcurrentSkipListMap<byte[], ConcurrentSkipListMap<byte[], Object>>> myIndex;
將下面的聲明正確
myIndex = new ConcurrentSkipListMap<byte[], ConcurrentSkipListMap<byte[], ConcurrentSkipListMap<byte[], Object>>>(new MyCustomComparator)
這會不會比較適用於內ConcurrentSkipListMap
創建一個新的'比較器' – iberbeu 2013-03-25 08:56:49
也許你應該重新考慮你的數據結構。如何爲你的'Map