|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.ConverterCollections.ConverterMap
com.tangosol.util.ConverterCollections.ConverterSortedMap
public static class ConverterCollections.ConverterSortedMap
A Converter SortedMap views an underlying SortedMap through a set of key and value Converters.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry |
| Field Summary |
|---|
| Fields inherited from class com.tangosol.util.ConverterCollections.ConverterMap |
|---|
m_convKeyDown, m_convKeyUp, m_convValDown, m_convValUp, m_map, m_set |
| Constructor Summary | |
|---|---|
ConverterCollections.ConverterSortedMap(java.util.SortedMap map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Constructor. |
|
| Method Summary | |
|---|---|
java.util.Comparator |
comparator()Returns the comparator associated with this sorted map, or null if it uses its keys' natural ordering. |
java.lang.Object |
firstKey()Returns the first (lowest) key currently in this sorted map. |
java.util.SortedMap |
getSortedMap()Return the underlying SortedMap. |
java.util.SortedMap |
headMap(java.lang.Object toKey)Returns a view of the portion of this sorted map whose keys are strictly less than toKey. |
protected java.util.SortedMap |
instantiateSortedMap(java.util.SortedMap map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Create a Converter SortedMap. |
java.lang.Object |
lastKey()Returns the last (highest) key currently in this sorted map. |
java.util.SortedMap |
subMap(java.lang.Object fromKey, java.lang.Object toKey)Returns a view of the portion of this sorted map whose keys range from fromKey, inclusive, to toKey, exclusive. |
java.util.SortedMap |
tailMap(java.lang.Object fromKey)Returns a view of the portion of this sorted map whose keys are greater than or equal to fromKey. |
| Methods inherited from class com.tangosol.util.ConverterCollections.ConverterMap |
|---|
clear, containsKey, containsValue, entrySet, equals, get, getConverterKeyDown, getConverterKeyUp, getConverterValueDown, getConverterValueUp, getMap, hashCode, instantiateCollection, instantiateEntrySet, instantiateMap, instantiateSet, 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 |
| Constructor Detail |
|---|
public ConverterCollections.ConverterSortedMap(java.util.SortedMap map,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter 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| Method Detail |
|---|
public java.util.Comparator comparator()
comparator in interface java.util.SortedMap
public java.util.SortedMap subMap(java.lang.Object fromKey,
java.lang.Object toKey)
subMap in interface java.util.SortedMapfromKey - low endpoint (inclusive) of the subMaptoKey - high endpoint (exclusive) of the subMappublic java.util.SortedMap headMap(java.lang.Object toKey)
headMap in interface java.util.SortedMaptoKey - high endpoint (exclusive) of the subMappublic java.util.SortedMap tailMap(java.lang.Object fromKey)
tailMap in interface java.util.SortedMapfromKey - low endpoint (inclusive) of the tailMappublic java.lang.Object firstKey()
firstKey in interface java.util.SortedMappublic java.lang.Object lastKey()
lastKey in interface java.util.SortedMap
protected java.util.SortedMap instantiateSortedMap(java.util.SortedMap map,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter 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 java.util.SortedMap getSortedMap()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||