Example usage for Java java.util.concurrent ConcurrentSkipListMap fields, constructors, methods, implement or subclass
The text is from its open source code.
KeySet | keySet Lazily initialized key set |
Values | values Lazily initialized values collection |
EntrySet | entrySet Lazily initialized entry set |
ConcurrentSkipListMap() Constructs a new, empty map, sorted according to the Comparable natural ordering of the keys. | |
ConcurrentSkipListMap(Comparator super K> comparator) Constructs a new, empty map, sorted according to the specified comparator. | |
ConcurrentSkipListMap(Map extends K, ? extends V> m) Constructs a new map containing the same mappings as the given map, sorted according to the Comparable natural ordering of the keys. | |
ConcurrentSkipListMap(SortedMap Constructs a new map containing the same mappings and using the same ordering as the specified sorted map. |
K | ceilingKey(K key) |
Map.Entry | floorEntry(K key) Returns a key-value mapping associated with the greatest key less than or equal to the given key, or null if there is no such key. |
K | floorKey(K key) |
V | get(Object key) Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. |
Map.Entry | lowerEntry(K key) Returns a key-value mapping associated with the greatest key strictly less than the given key, or null if there is no such key. |
V | put(K key, V value) Associates the specified value with the specified key in this map. |
V | putIfAbsent(K key, V value) |
V | remove(Object key) Removes the mapping for the specified key from this map if present. |
ConcurrentNavigableMap | subMap(K fromKey, K toKey) |
ConcurrentNavigableMap | tailMap(K fromKey, boolean inclusive) |