public interface SortedMapService<K,V> extends MapService<K,V>
Modifier and Type | Method and Description |
---|---|
SortedSetService<Map.Entry<K,V>> |
entrySet()
Returns the set view of this map entries.
|
K |
firstKey()
Returns the first (lowest) key currently in this map.
|
SortedSetService<K> |
keySet()
Returns the set view of this map keys.
|
K |
lastKey()
Returns the last (highest) element currently in this map.
|
SortedMapService<K,V> |
subMap(K fromKey,
K toKey)
Returns a view over a portion of this map.
|
atomic, clear, containsKey, get, put, putIfAbsent, remove, remove, replace, replace, size, values
K firstKey()
K lastKey()
SortedMapService<K,V> subMap(K fromKey, K toKey)
fromKey
- the low endpoint inclusive or null
if none (head map).toKey
- the high endpoint exclusive or null
if none (tail map).SortedSetService<Map.Entry<K,V>> entrySet()
MapService
Map.entrySet()
the view supports adding new
entries to the map.entrySet
in interface MapService<K,V>
SortedSetService<K> keySet()
MapService
Map.keySet()
the view supports adding new
keys to the map (associated value is null
).keySet
in interface MapService<K,V>
Copyright © 2005-2013 Javolution. All Rights Reserved.