public boolean contains(Object o) { return containsKey(o); } public boolean remove(Object o) {
/** * Returns <tt>true</tt> if this map contains a mapping for the specified * key. * * @return <tt>true</tt> if this map contains a mapping for the specified * key. * @param key key whose presence in this Map is to be tested. */ public boolean containsKey(Integer key) { return containsKey(key.intValue()); }
public boolean contains(Object o) { return containsKey(o); } public boolean remove(Object o) {
/** * Returns <tt>true</tt> if this map contains a mapping for the specified * key. * * @return <tt>true</tt> if this map contains a mapping for the specified * key. * @param key key whose presence in this Map is to be tested. */ public boolean containsKey(Integer key) { return containsKey(key.intValue()); }
/** * Finish registering a method once it has been loaded. * * @param mid reserved method identifier * @param method method to assign to identifier * @throws IllegalStateException if id has already been registered or is unknown */ public synchronized void registerMethod(int mid, TracedMethod method) { if (mMethodMap.get(mid) == null && mMethodMap.containsKey(mid)) { mMethodMap.put(mid, method); } else { throw new IllegalStateException("Unknown mid: " + mid); } } }