put key

@param key
@return
2965
public boolean put(final int key) {
		if (isFull()) { // full
			resizeArray();
		}
		int slot = findSlotByKey(key);
		if (slot >= 0) {
			if (log.isDebugEnabled()) {
				log.debug("key already exists: " + key);
			}
			return false; // key already exist
		}
		slot = ((-slot) - 1);
		return addSlot(slot, key);
	}
68237
public static Object put(String key, Object value) {
        return value == null ? CONTEXT.remove(key) : CONTEXT.put(key, value);
    }
180457
public void put(K key, V value) {
        Set<V> set = storage.get(key);
        if (set == null) {
            set = new HashSet<>();
            storage.put(key, set);
        }
        set.add(value);
    }
435818
@Override
    public R put(D key, R value) {
        return map.put(key, value);
    }
1250969
public @Nonnull JsonBuilder put(String key, Number n) {
        object.put(key, primitive(n));
        return this;
    }
667900
public Object put(final String key, final Object value) {
		return additionalData.put(key, value);
	}
905437
public @Nonnull JsonBuilder put(String key, boolean b) {
        object.put(key, primitive(b));
        return this;
    }
613197
public Phrase put(String key, int value) {
    return put(key, Integer.toString(value));
  }
622138
@Override
  public List<String> put(String key, List<String> value) {
    return getMap().put(key, value);
  }
873746
public final Object put(Object key, Object value) {
        return internalData.put(key, value);
    }
69271
public Options put(String key, JsScope value)
	{
		options.put(key, value);
		return this;
	}
1013437
@Override
    public Object put(Object key, Object value) {
        return localMap.put(key, value);
    }
48072
public static Object putIfAbsent(String key, Object value) {
        return value == null ? CONTEXT.remove(key) : CONTEXT.putIfAbsent(key, value);
    }
873181
public String get(String key) {
    	if(requestedKeys == null) requestedKeys = new HashSet<String>();
    	String value = map.get(key);
    	requestedKeys.add(key);
    	return value;
    }
779250
@Override
    public Object put(String key, Object value) {
        return update(String.valueOf(key), value);
    }
369968
public T put(final int key, final T value) {
		int index = ((key & 0x7FFFFFFF) % elementKeys.length);
		T oldvalue = null;

		long entry = elementKeys[index];
		if (entry == Integer.MIN_VALUE) {
			++elementCount;
		} else {
			oldvalue = elementValues[index];
			collisions++;
		}
		elementKeys[index] = key;
		elementValues[index] = value;
		return oldvalue;
	}
272615
public Object put(String key, Object value) {
		if (size == keys.length) {
			throw new ArrayIndexOutOfBoundsException(size);
		}
		keys[size] = key;
		values[size] = value;
		size++;
		return value;
	}