ShardedMap
A sharded map. It is typically split into multiple sub-maps that don't have
overlapping keys.
| Methods |
| static long |
getSize(Map map)
Get the size of the map.
|
| static long |
getSize(Map map)
Get the size of the map.
Parameters:
map - the map
Returns:
the size
|
| void |
addMap(Map map, K min, K max)
Add the given shard.
|
| void |
addMap(Map map, K min, K max)
Add the given shard.
Parameters:
map - the map
min - the lowest key, or null if no limit
max - the highest key, or null if no limit
|
| Set |
entrySet()
|
| Set |
entrySet()
|
| V |
get(Object key)
|
| V |
get(Object key)
|
| V |
put(K key, V value)
|
| V |
put(K key, V value)
|
| int |
size()
|
| int |
size()
|
| long |
sizeAsLong()
The size of the map.
|
| long |
sizeAsLong()
The size of the map.
Returns:
the size
|
|