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