/** * Associates a specified key with the given value in the integer map. * <p> * If the key has already been associated with a value, then it will be replaced by the new value. * @param key - the key to insert. * @param value - the value to insert. Cannot be NULL. * @throws RuntimeException If the reflection machinery failed. */ public void put(int key, Object value) { Preconditions.checkNotNull(value, "value cannot be NULL."); initializePutMethod(); putInternal(key, value); }