/*
Set long key value
164178
public void setValue(Enum key, long value) {
    this._task.put(key, Long.toString(value));
  }
430723
@Override
	public final void setLongProperty(String name, long value) throws JMSException
    {
        setProperty(name,Long.valueOf(value));
    }
641952
public void setLongAttribute(String name, Long value) {
		ensureValue();
		Attribute attribute = new LongAttribute(value);
		attribute.setEditable(isEditable(name));
		getValue().getAllAttributes().put(name, attribute);
	}
953308
public ValueMap withLong(String key, long val) {
        return withNumber(key, Long.valueOf(val));
    }
352513
public AmqpTable addLongString(String key, String value) {
        this.add(key, value, AmqpType.LONGSTRING);
        return this;
    }
114243
public long getLong(String key) throws JSONException {
    Object o = get(key);
    try {
      return o instanceof Number ? ((Number) o).longValue() : Long.parseLong((String) o);
    } catch (Exception e) {
      throw new JSONException("JSONObject[" + quote(key) + "] is not a long.");
    }
  }
209642
public void bind(LongProperty property, String key) {
		if (prefs.get(validateKey(key), null) != null) {
			property.set(prefs.getLong(key, Long.MIN_VALUE));
		}
		property.addListener(o -> prefs.putLong(key, property.getValue()));
	}
122833
@Programmatic
    public UserSettingJdo newLong(
            final String user,
            final String key,
            final String description,
            final Long value) {
        return newSetting(user, key, description, SettingType.LONG, value.toString());
    }
720280
public long getLong(String key) throws LazyException{
		LazyNode token=getFieldToken(key);
		return token.getLongValue();
	}
685219
@CheckResult @NonNull
  public Preference<Long> getLong(@NonNull String key) {
    return getLong(key, DEFAULT_LONG);
  }
1865
public void setLong(Long value) {
		this.checkNull(value);
		list.add(value);
		type.add(Long.class);
	}
1341684
public Object put(long key, Object value)
  {
    int hash = (int) (key & mask);
    int count = size;

    while (count-- >= 0) {
      long testKey = keys[hash];

      if (testKey == DEAD_KEY || (flags[hash] & DELETED) != 0) {
        keys[hash] = key;
        values[hash] = value;
        flags[hash] = 0;

        size++;

        if (keys.length <= 2 * size)
          resize(2 * keys.length);

        return null;
      }
      else if (key != testKey) {
        hash = (hash + 1) & mask;
        continue;
      }
      else {
        Object old = values[hash];

        values[hash] = value;

        return old;
      }
    }

    return null;
  }
652288
public JSONObject put(String key, long value) throws JSONException {
        put(key, Long.valueOf(value));
        return this;
    }
673945
public Long getLong(String key)
   {
      Long longValue = null;
      String sVal = getText(key);
      if ((sVal != null) && (sVal.length() > 0))
      {
         longValue = Long.valueOf(sVal);
      }
      return longValue;
   }
641709
public final T setAttributeValueAsLong(String name, long value) {
    setAttribute(name, Long.toString(value));
    return (T)this;
  }
1301667
public Long getLong(String key, String group, Long defaultValue) {
		return Convert.toLong(getByGroup(key, group), defaultValue);
	}
113863
public Options putLong(String key, IModel<Long> value)
	{
		putOption(key, new LongOption(value));
		return this;
	}