|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
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.AbstractKeyBasedMap
com.tangosol.util.BinaryLongMap.SimpleMapImpl
public static class BinaryLongMap.SimpleMapImpl
A java.util.Map<Binary, Long> implementation. This is a simple wrapper around a BinaryLongMap.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tangosol.util.AbstractKeyBasedMap |
---|
AbstractKeyBasedMap.DeferredCacheEvent, AbstractKeyBasedMap.EntrySet, AbstractKeyBasedMap.KeySet, AbstractKeyBasedMap.ValuesCollection |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry |
Constructor Summary | |
---|---|
BinaryLongMap.SimpleMapImpl() Construct a SimpleMapImpl using a BinaryRadixTree as the internal storage. |
|
BinaryLongMap.SimpleMapImpl(BinaryLongMap blm) Construct a SimpleMapImpl around an existing BinaryLongMap. |
Method Summary | |
---|---|
void |
clear() Clear all key/value mappings. |
boolean |
containsKey(java.lang.Object oKey) Returns true if this map contains a mapping for the specified key. |
java.lang.Long |
get(java.lang.Object oKey) Returns the value to which this map maps the specified key. |
protected java.util.Iterator |
iterateKeys() Create an iterator over the keys in this Map. |
java.lang.Long |
put(java.lang.Object oKey, java.lang.Object oValue) Associates the specified value with the specified key in this map. |
java.lang.Long |
remove(java.lang.Object oKey) Removes the mapping for this key from this map if present. |
int |
size() Returns the number of key-value mappings in this map. |
Methods inherited from class com.tangosol.util.AbstractKeyBasedMap |
---|
clone, containsValue, entrySet, equals, getAll, hashCode, instantiateEntrySet, instantiateKeySet, instantiateValues, isEmpty, keySet, putAll, removeBlind, toString, values |
Constructor Detail |
---|
public BinaryLongMap.SimpleMapImpl()
public BinaryLongMap.SimpleMapImpl(BinaryLongMap blm)
blm
- the BinaryLongMap to use as the storage for this mapMethod Detail |
---|
public void clear()
clear
in interface java.util.Map
clear
in class AbstractKeyBasedMap
public boolean containsKey(java.lang.Object oKey)
containsKey
in interface java.util.Map
containsKey
in class AbstractKeyBasedMap
public java.lang.Long get(java.lang.Object oKey)
get
in interface java.util.Map
get
in class AbstractKeyBasedMap
oKey
- the key objectpublic java.lang.Long put(java.lang.Object oKey, java.lang.Object oValue)
put
in interface java.util.Map
put
in class AbstractKeyBasedMap
oKey
- key with which the specified value is to be associatedoValue
- value to be associated with the specified keypublic java.lang.Long remove(java.lang.Object oKey)
remove
in interface java.util.Map
remove
in class AbstractKeyBasedMap
oKey
- key whose mapping is to be removed from the mappublic int size()
size
in interface java.util.Map
size
in class AbstractKeyBasedMap
protected java.util.Iterator iterateKeys()
iterateKeys
in class AbstractKeyBasedMap
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |