net.sf.beanlib.utils
Class CollectionUtils.SynchronizedSortedMap<K,V>
java.lang.Object
net.sf.beanlib.utils.CollectionUtils.SynchronizedMap<K,V>
net.sf.beanlib.utils.CollectionUtils.SynchronizedSortedMap<K,V>
- All Implemented Interfaces:
- Serializable, Map<K,V>, SortedMap<K,V>
- Direct Known Subclasses:
- CollectionUtils.SynchronizedSortedRangeMap
- Enclosing class:
- CollectionUtils
static class CollectionUtils.SynchronizedSortedMap<K,V>
- extends CollectionUtils.SynchronizedMap<K,V>
- implements SortedMap<K,V>
Basically cloned from and identification to java.util.Collections.SynchronizedSortedMap.
- Author:
- Joe D. Velopar
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class net.sf.beanlib.utils.CollectionUtils.SynchronizedMap |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
sm
private SortedMap<K,V> sm
CollectionUtils.SynchronizedSortedMap
CollectionUtils.SynchronizedSortedMap(SortedMap<K,V> m)
CollectionUtils.SynchronizedSortedMap
CollectionUtils.SynchronizedSortedMap(SortedMap<K,V> m,
Object mutex)
comparator
public Comparator<? super K> comparator()
- Specified by:
comparator
in interface SortedMap<K,V>
subMap
public SortedMap<K,V> subMap(K fromKey,
K toKey)
- Specified by:
subMap
in interface SortedMap<K,V>
headMap
public SortedMap<K,V> headMap(K toKey)
- Specified by:
headMap
in interface SortedMap<K,V>
tailMap
public SortedMap<K,V> tailMap(K fromKey)
- Specified by:
tailMap
in interface SortedMap<K,V>
firstKey
public K firstKey()
- Specified by:
firstKey
in interface SortedMap<K,V>
lastKey
public K lastKey()
- Specified by:
lastKey
in interface SortedMap<K,V>