public class ObjectLongHashMap
extends java.util.HashMap
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REVISION |
| Constructor and Description |
|---|
ObjectLongHashMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
long |
getLong(java.lang.Object key,
long defaultValue)
Return the long value associated with given object, or the given
default value if object is not in this map.
|
long |
getMax()
Return maximum value stored in this map.
|
void |
put(java.lang.Object key,
long value)
Associates the specified value with the specified key in this map.
|
java.lang.Object |
remove(java.lang.Object key) |
clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, size, valuespublic static final java.lang.String REVISION
public java.lang.Object remove(java.lang.Object key)
remove in interface java.util.Mapremove in class java.util.HashMappublic void clear()
clear in interface java.util.Mapclear in class java.util.HashMappublic void put(java.lang.Object key,
long value)
key - key with which the specified value is to be associated.value - value to be associated with the specified key.public long getLong(java.lang.Object key,
long defaultValue)
key - the object from which to get associated valuedefaultValue - the default value to use if object not present.public long getMax()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.