com.yourkit.probes
Class ObjectIntWeakMap<Key>
java.lang.Object
com.yourkit.probes.ObjectIntWeakMap<Key>
public final class ObjectIntWeakMap<Key>
- extends java.lang.Object
This utility class implements a map between object and integer.
Objects stored in the map are not prevented from being garbage collected.
Unlike ordinary weak hash map, this map retains key and value association even
inside the key's finalize() method.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectIntWeakMap
public ObjectIntWeakMap()
put
public void put(Key key,
int value)
get
public java.lang.Integer get(Key key)
containsKey
public boolean containsKey(Key key)
remove
public java.lang.Integer remove(Key key)
Copyright © 2003-2010 YourKit, LLC. All Rights Reserved.