OK：非列表数据

@param key
@param value

@return
773338
protected <T> JsonObjectBase buildSuccess(String key, T value) {
        return JsonObjectUtils.buildObjectSuccess(key, value);
    }
1068477
public Object put(Object key, Object value)
    {
        if (null == key) throw new IllegalArgumentException("key must not be null");
        if (!(key instanceof String)) throw new IllegalArgumentException("key must be a String");

        if (!isValidObject(value))
        {
            if (value != null)
            {
                throw new IllegalArgumentException("Invalid type of value.  Type: [" + value.getClass().getName() + "] with value: [" + value.toString() + "]");
            }
            else
            {
                throw new IllegalArgumentException("Invalid type of value.");
            }
        }
        return super.put(key, value);
    }
179433
public LinkedList<Map.Entry<String, V>> commonPrefixSearchWithValue(String key)
    {
        char[] chars = key.toCharArray();
        return commonPrefixSearchWithValue(chars, 0);
    }
81130
public Groundy arg(String key, ArrayList<CharSequence> value) {
    mArgs.putCharSequenceArrayList(key, value);
    return this;
  }
1005903
@SuppressWarnings("unchecked")
    public void addFieldMsg(String key, String value) {
        if (key == null) {
            return;
        }
        Map<String, String> fieldMsgs = null;
        // 字段错误信息
        if (!this.statusInfo.containsKey(WebResponseConstant.MESSAGE_FIELD)) {
            fieldMsgs = new HashMap<String, String>();
            this.statusInfo.put(WebResponseConstant.MESSAGE_FIELD, fieldMsgs);
        }
        fieldMsgs = (Map<String, String>) (this.statusInfo.get(WebResponseConstant.MESSAGE_FIELD));
        fieldMsgs.put(key, value);
    }
1231343
public B set(String key, int value) {
        this.data.put(key, value);
        return (B) this;
    }
1146917
public static <K, V> Map<K, V> wrap(final String key, final Object value) {
        val map = new LinkedHashMap();
        if (value != null && StringUtils.isNotBlank(key)) {
            map.put(key, value);
        }
        return map;
    }
425775
public Object setProperty(String key, LangAlt value) {
		return super.setProperty(key, value.toString());
	 }
729838
public JSONObject element( String key, Collection value ) {
      return element( key, value, new JsonConfig() );
   }
686164
public Request query(String key, Object value) {
        this.query.put(key, value);
        return this;
    }
231549
public final NFastStringMap<V> put(final String key, final V value)
    {
        m_jso.put(NUtils.doKeyRepair(key), value);

        return this;
    }
626722
public RuntimeParameter addParameter(String key, String value)
    {
        RuntimeParameter jp = new RuntimeParameter();
        jp.setJi(this.getId());
        jp.setKey(key);
        jp.setValue(value);
        return jp;
    }
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));
        }
    }
452330
public T getValue(Object key) {
        Rsp<T> rsp=get(key);
        return rsp != null? rsp.getValue() : null;
    }
1303151
public JSONObject element( String key, int value ) {
      verifyIsNull();
      return element( key, new Integer( value ) );
   }
1293087
public JSONNavi<T> set(String key, long value) {
		return set(key, Long.valueOf(value));
	}
292767
protected void setHeaderOutImpl(String key, String value)
  {
    int i = 0;
    boolean hasHeader = false;
    
    ArrayList<String> keys = _headerKeysOut;
    ArrayList<String> values = _headerValuesOut;

    for (i = keys.size() - 1; i >= 0; i--) {
      String oldKey = keys.get(i);

      if (oldKey.equalsIgnoreCase(key)) {
        if (hasHeader) {
          keys.remove(i);
          values.remove(i);
        }
        else {
          hasHeader = true;

          values.set(i, value);
        }
      }
    }

    if (! hasHeader) {
      keys.add(key);
      values.add(value);
    }
  }