| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.commons.collections.map.AbstractMapDecoratororg.apache.commons.collections.map.AbstractSortedMapDecoratororg.apache.commons.collections.map.UnmodifiableSortedMappublic final class UnmodifiableSortedMapextends AbstractSortedMapDecoratorimplements Unmodifiable, SerializableSortedMap to ensure it can't be altered.
This class is Serializable from Commons Collections 3.1.
Field Summary |
Fields inherited from class org.apache.commons.collections.map.AbstractMapDecorator | |
map | |
Method Summary | |
void |
|
Comparator | |
static SortedMap |
|
Set |
|
Object |
|
SortedMap |
|
Set |
|
Object |
|
Object |
|
void |
|
Object |
|
SortedMap |
|
SortedMap |
|
Collection |
|
Methods inherited from class org.apache.commons.collections.map.AbstractSortedMapDecorator | |
comparator, firstKey, getSortedMap, headMap, lastKey, subMap, tailMap | |
Methods inherited from class org.apache.commons.collections.map.AbstractMapDecorator | |
clear, containsKey, containsValue, entrySet, equals, get, getMap, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values | |
public Comparator comparator()
- Overrides:
- comparator in interface AbstractSortedMapDecorator
public static SortedMap decorate(SortedMap map)
Factory method to create an unmodifiable sorted map.
- Parameters:
map- the map to decorate, must not be null
public SortedMap headMap(Object toKey)
- Overrides:
- headMap in interface AbstractSortedMapDecorator
public SortedMap subMap(Object fromKey,
Object toKey)
- Overrides:
- subMap in interface AbstractSortedMapDecorator
public SortedMap tailMap(Object fromKey)
- Overrides:
- tailMap in interface AbstractSortedMapDecorator