|
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.AbstractKeyBasedMap
com.tangosol.util.BinaryRadixTree.BinaryLongMap
public static class BinaryRadixTree.BinaryLongMap
A Map of Binary to Long. This is a simple wrapper around a BinaryRadixTree.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tangosol.util.AbstractKeyBasedMap |
---|
AbstractKeyBasedMap.EntrySet, AbstractKeyBasedMap.KeySet, AbstractKeyBasedMap.ValuesCollection |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry |
Constructor Summary | |
---|---|
BinaryRadixTree.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 BinaryRadixTree.BinaryLongMap()
Method 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
oKey
- key whose presence in this map is to be tested.public java.lang.Long get(java.lang.Object oKey)
get
in interface java.util.Map
get
in class AbstractKeyBasedMap
oKey
- the key objectMap.containsKey(Object)
public 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 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |