FK - the type of the keys in the underlying SortedSetTK - the type that the keys should be converted toFV - the type of the values in the underlying SortedSetTV - the type that the values should be converted topublic static class ConverterCollections.ConverterSortedMap<FK,TK,FV,TV> extends ConverterCollections.ConverterMap<FK,TK,FV,TV> implements SortedMap<TK,TV>, Serializable
m_convKeyDown, m_convKeyUp, m_convValDown, m_convValUp, m_map, m_set| Constructor and Description |
|---|
ConverterSortedMap(SortedMap<FK,FV> map,
Converter<FK,TK> convKeyUp,
Converter<TK,FK> convKeyDown,
Converter<FV,TV> convValUp,
Converter<TV,FV> convValDown)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Comparator<TK> |
comparator() |
TK |
firstKey() |
SortedMap<FK,FV> |
getSortedMap()
Return the underlying SortedMap.
|
SortedMap<TK,TV> |
headMap(TK toKey) |
protected SortedMap<TK,TV> |
instantiateSortedMap(SortedMap<FK,FV> map,
Converter<FK,TK> convKeyUp,
Converter<TK,FK> convKeyDown,
Converter<FV,TV> convValUp,
Converter<TV,FV> convValDown)
Create a Converter SortedMap.
|
TK |
lastKey() |
SortedMap<TK,TV> |
subMap(TK fromKey,
TK toKey) |
SortedMap<TK,TV> |
tailMap(TK fromKey) |
clear, containsKey, containsValue, entrySet, equals, get, getConverterKeyDown, getConverterKeyUp, getConverterValueDown, getConverterValueUp, getMap, hashCode, instantiateCollection, instantiateEntrySet, instantiateMap, instantiateSet, isEmpty, keySet, put, putAll, remove, size, toString, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizepublic ConverterSortedMap(SortedMap<FK,FV> map, Converter<FK,TK> convKeyUp, Converter<TK,FK> convKeyDown, Converter<FV,TV> convValUp, Converter<TV,FV> convValDown)
map - the underlying SortedMapconvKeyUp - the Converter to view the underlying
SortedMap's keys throughconvKeyDown - the Converter to use to pass keys down to the
underlying SortedMapconvValUp - the Converter to view the underlying
SortedMap's values throughconvValDown - the Converter to use to pass values down to the
underlying SortedMappublic Comparator<TK> comparator()
comparator in interface SortedMap<TK,TV>protected SortedMap<TK,TV> instantiateSortedMap(SortedMap<FK,FV> map, Converter<FK,TK> convKeyUp, Converter<TK,FK> convKeyDown, Converter<FV,TV> convValUp, Converter<TV,FV> convValDown)
map - the underlying SortedMapconvKeyUp - the Converter to view the underlying
SortedMap's keys throughconvKeyDown - the Converter to use to pass keys down to the
underlying SortedMapconvValUp - the Converter to view the underlying
SortedMap's values throughconvValDown - the Converter to use to pass values down to the
underlying SortedMap