|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.AbstractMap
com.tangosol.util.SafeSortedMap.ViewMap
protected class SafeSortedMap.ViewMap
ViewMap provides a SortedMap view over a subset of the SafeSortedMap. A ViewMap may have an inclusive lower and/or an exclusive upper bound.
For example, a ViewMap defined on an SafeSortedMap of Integer keys with lower bound 3 and upper bound 7 would contain any keys in the underlying SafeSortedMap in the range [3, 7).
Nested Class Summary | |
---|---|
protected class |
SafeSortedMap.ViewMap.EntryIterator An Iterator over the Entries backed by this ViewMap. |
protected class |
SafeSortedMap.ViewMap.EntrySet A Set of Entries backed by this ViewMap. |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry, java.util.AbstractMap.SimpleImmutableEntry |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry |
Field Summary | |
---|---|
protected java.lang.Object |
m_oKeyLower The key that this ViewMap is (inclusively) lower-bounded by, or null for no lower-bound. |
protected java.lang.Object |
m_oKeyUpper The key that this ViewMap is (exclusively) upper-bounded by, or null for no upper-bound |
Constructor Summary | |
---|---|
protected |
SafeSortedMap.ViewMap(java.lang.Object oKeyLower, java.lang.Object oKeyUpper) Create a new ViewMap over the SafeSortedMap bounded by the specified keys, or null for no-bound. |
Method Summary | |
---|---|
java.util.Comparator |
comparator() |
boolean |
containsKey(java.lang.Object oKey) |
java.util.Set |
entrySet() |
java.lang.Object |
firstKey() |
protected SafeSortedMap.EntryNode |
firstNode() Return the first Node in this ViewMap, or null if there are none. |
java.lang.Object |
get(java.lang.Object oKey) |
protected java.lang.Object |
getLowerBound() Return the lower bound of this ViewMap. |
protected java.lang.Object |
getUpperBound() Return the upper bound of this ViewMap. |
java.util.SortedMap |
headMap(java.lang.Object toKey) |
protected boolean |
inRange(java.lang.Object oKey) Is the specified key in the range represented by this ViewMap? |
java.lang.Object |
lastKey() |
protected SafeSortedMap.EntryNode |
lastNode() Return the last SkipNode in this ViewMap, or null if there are none. |
java.lang.Object |
put(java.lang.Object oKey, java.lang.Object oValue) |
java.lang.Object |
remove(java.lang.Object oKey) |
java.util.SortedMap |
subMap(java.lang.Object fromKey, java.lang.Object toKey) |
java.util.SortedMap |
tailMap(java.lang.Object fromKey) |
Methods inherited from class java.util.AbstractMap |
---|
clear, clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values |
Methods inherited from interface java.util.SortedMap |
---|
keySet, values |
Methods inherited from interface java.util.Map |
---|
clear, containsValue, equals, hashCode, isEmpty, putAll, size |
Field Detail |
---|
protected final java.lang.Object m_oKeyLower
protected final java.lang.Object m_oKeyUpper
Constructor Detail |
---|
protected SafeSortedMap.ViewMap(java.lang.Object oKeyLower, java.lang.Object oKeyUpper)
oKeyLower
- the (inclusive) lower-bound key, or nulloKeyUpper
- the (exclusive) upper-bound key, or nullMethod Detail |
---|
public java.util.Set entrySet()
entrySet
in interface java.util.Map
entrySet
in interface java.util.SortedMap
entrySet
in class java.util.AbstractMap
public java.lang.Object put(java.lang.Object oKey, java.lang.Object oValue)
put
in interface java.util.Map
put
in class java.util.AbstractMap
public java.lang.Object get(java.lang.Object oKey)
get
in interface java.util.Map
get
in class java.util.AbstractMap
public boolean containsKey(java.lang.Object oKey)
containsKey
in interface java.util.Map
containsKey
in class java.util.AbstractMap
public java.lang.Object remove(java.lang.Object oKey)
remove
in interface java.util.Map
remove
in class java.util.AbstractMap
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.SortedMap
public java.util.SortedMap headMap(java.lang.Object toKey)
headMap
in interface java.util.SortedMap
public java.util.SortedMap tailMap(java.lang.Object fromKey)
tailMap
in interface java.util.SortedMap
public java.lang.Object firstKey()
firstKey
in interface java.util.SortedMap
public java.lang.Object lastKey()
lastKey
in interface java.util.SortedMap
protected java.lang.Object getLowerBound()
protected java.lang.Object getUpperBound()
protected boolean inRange(java.lang.Object oKey)
oKey
- the key to test forprotected SafeSortedMap.EntryNode firstNode()
protected SafeSortedMap.EntryNode lastNode()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |