class TimeMap extends AbstractLongHashMap
DefaultRecorderElement.| Modifier and Type | Class and Description |
|---|---|
static class |
TimeMap.MapElement
Defines the map element which specifies the instaces to be stored in this
class.
|
AbstractLongHashMap.DelegatingMapIterator<T>, AbstractLongHashMap.MapIteratorDEFAULT_CAPACITY, DEFAULT_LOADFACTOR, MAXIMUM_CAPACITY| Constructor and Description |
|---|
TimeMap() |
| Modifier and Type | Method and Description |
|---|---|
protected TimeMap.MapElement |
create(long key,
java.lang.Object value)
Creates an element.
|
TimeMap.MapElement |
get(long key)
Returns the map element for the given key.
|
TimeMap.MapElement |
put(long key,
long startCpuTime,
long startSystemTime)
Associates initial timing information
key (thread
identifier). |
void |
putAll(AbstractLongHashMap map)
Puts all the keys and values in the specified hash
map into this hash map.
|
void |
remove(long key)
Removes the mapping for this key from this map if present.
|
clear, containsKey, elements, getCapacity, getElement, getLoadFactor, getObjectCounter, isEmpty, keySet, putElement, removeElement, removeNotIn, setRehash, sizepublic void putAll(AbstractLongHashMap map)
putAll in class AbstractLongHashMapmap - the source map (a TimeMap)public TimeMap.MapElement put(long key, long startCpuTime, long startSystemTime)
key (thread
identifier).key - the key representing an objectstartCpuTime - the start CPU timestartSystemTime - the start system timeprotected TimeMap.MapElement create(long key, java.lang.Object value)
create in class AbstractLongHashMapkey - the hash key of the elementvalue - the generic value to be attachedpublic void remove(long key)
key - The key whose mapping is to be removed from the map.public TimeMap.MapElement get(long key)
key - the key to return the map element for