Set a long value for the given key.

@param key   The key
@param value The long value.
@return The self object.
426324
@NonNull
    @Override
    public MutableDictionary setLong(@NonNull String key, long value) {
        return setValue(key, value);
    }
312472
@Override
    public long getLong(@NonNull String key) {
        if (key == null) { throw new IllegalArgumentException("key cannot be null."); }

        synchronized (lock) {
            return CBLConverter.asLong(getMValue(internalDict, key), internalDict);
        }
    }
1277978
public T put(YamlNode key, Long value) {
        return put(key, getNodeFactory().longNode(value));
    }
55025
@Override
	public Long getPropertyLong(String key, Long aDefault)
	{
		Long longValue = null;
		
		String sVal = getProperty(key,false);
		if ((sVal != null) && (sVal.length() > 0))
		{
			longValue = Long.valueOf(sVal);
		}
		else
		{
			longValue = aDefault;
		}
		return longValue;

	}
356222
@NonNull
    public Parameters setLong(@NonNull String name, long value) {
        return setValue(name, value);
    }
135211
public void putLong(String key, long l) {
		checkNotNull(key);
		put(key, Long.toString(l));
	}
511873
public void setValue(String key, String value) {
        KeyValue kv = getKV(key);
        if (kv != null) {
            kv.setValue(value);
        } else if (key != null) {
            map.add(new KeyValue(key,value));
        }
    }
1173388
public LongConstant addLong(long value)
  {
    LongConstant entry = getLongByValue(value);

    if (entry != null)
      return entry;

    entry = new LongConstant(this, _entries.size(), value);

    addConstant(entry);
    addConstant(null);

    return entry;
  }
190667
public static Long toLong(Object value, Long defaultValue) {
		return convert(Long.class, value, defaultValue);
	}
1355171
public String put(final String key, final Long value) {
    return this._current.put(key, value.toString());
  }
352879
public long getLongValue(Enum key) {
    if (this._task.get(key) == null) {
      return (long)0;
    }
    else {
      return Long.parseLong(this._task.get(key));
    }
  }
489449
public void set(long value) throws MemcachedException, InterruptedException, TimeoutException {
    this.memcachedClient.set(this.key, 0, String.valueOf(value));
  }
925799
public Long hincrBy(Object key, Object field, long value) {
		Jedis jedis = getJedis();
		try {
			return jedis.hincrBy(keyToBytes(key), fieldToBytes(field), value);
		}
		finally {close(jedis);}
	}
951468
public void setValue(Object value, long timeout) {
		_value = value;
		_expiration = System.currentTimeMillis() + timeout;
	}
329701
public long longValue() {
		long value;
		value = Long.parseLong(this.param);
		if(this.isNeg) value = (-value);
		return value;
	}
425775
public Object setProperty(String key, LangAlt value) {
		return super.setProperty(key, value.toString());
	 }
418290
public Object setProperty(final String key, final String value) {
        return prop.put(key, value);
    }