|
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.RestrictedCollections.RestrictedMap
com.tangosol.util.RestrictedCollections.RestrictedSortedMap
public static class RestrictedCollections.RestrictedSortedMap
A restricted SortedMap that requires its keys and values to be of specified classes.
| 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.RestrictedCollections.RestrictedMap |
|---|
m_clzKey, m_clzVal, m_map, m_set |
| Constructor Summary | |
|---|---|
RestrictedCollections.RestrictedSortedMap(java.util.Map map, java.lang.Class clzKey, java.lang.Class clzVal)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 |
headMap(java.lang.Object toKey)Returns a view of the portion of this sorted map whose keys are strictly less than toKey. |
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.RestrictedCollections.RestrictedMap |
|---|
checkKey, checkValue, 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 |
| Constructor Detail |
|---|
public RestrictedCollections.RestrictedSortedMap(java.util.Map map,
java.lang.Class clzKey,
java.lang.Class clzVal)
map - the underlying SortedMapclzKey - the class of keys that may be stored in the MapclzVal - the class of values that may be stored in the Map| 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
|
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 | |||||||