这个比较有意思的英文单词词是什么意思accumulate

14124人阅读
public Object put (Object key, Object value) 将value映射到key下。如果此JSONObject对象之前存在一个value在这个key下,当前的value会替换掉之前的value
Associates the specified value with the specified key in this map(optional operation). If the map previously contained . a mapping for this key, the old value is replaced by the specified value. (A map m is said
to contain a mapping for a key k if and only if m.containsKey(k) would return true .))
public JSONObject accumulate (String key, Object value) 累积value到这个key下。这个方法同element()方法类似,特殊的是,如果当前已经存在一个value在这个key下那么一个JSONArray将会存储在这个key下来保存所有累积的value。如果已经存在一个JSONArray,那么当前的value就会添加到这个JSONArray中
。相比之下replace方法会替代先前的value
Accumulate values under a key. It is similar to the element method except that if there is already an object stored&
under the key then a JSONArray is stored under the key to hold all of the accumulated values. If there is already a&
JSONArray, then the new value is appended to it. In contrast, the replace method replaces the previous value.
public JSONObject element (String key, Object value) 将键/值对放到这个JSONObject对象里面。如果当前value为空(null),那么如果这个key存在的话,这个key就会移除掉。如果这
个key之前有value值,那么此方法会调用accumulate()方法。
Put a key/value pair in the JSONObject. If the value is null, then the key will be removed from the JSONObject if it is&
present. If there is a previous value assigned to the key, it will call accumulate.
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:3308146次
积分:33795
积分:33795
排名:第96名
原创:192篇
转载:1838篇
评论:368条
(50)(40)(43)(73)(15)(10)(17)(12)(6)(20)(27)(54)(71)(97)(74)(32)(2)(24)(21)(62)(60)(36)(23)(27)(46)(34)(76)(63)(121)(142)(74)(54)(120)(77)(42)(4)(12)(19)(1)(9)(15)(19)(18)(16)(31)(79)(68)手机APP下载
10倍速英语单词记忆:单词Accumulate的9个发散记忆
时间: 13:39:00 来源:可可英语 编辑:max
阅读本文的人还阅读了:
新东方英语词汇网络课程
新东方新概念英语网络课程
词汇节目推荐
在线背单词
可可英语官方微信(微信号:ikekenet)
每天向大家推送短小精悍的英语学习资料.
添加方式1.扫描上方可可官方微信二维码。
添加方式2.搜索微信号ikekenet添加即可。accumulate基本解释vt.& vi.堆积,积累vi.(数量)逐渐增加,(质量)渐渐提高变化形式第三人称单数accumulates过去式accumulated过去分词accumulated现在分词accumulatingaccumulate的用法和例句As data accumulate , the true picture will emerge .只有不断积累数据,真相才浮出水面。Why does his example continue to accumulate moral power ?为什么他的榜样形象不断累积成为道德力量?Most humans and other animals gain weight because they accumulate fat .大部分人和其他动物的体重增加是因为体内脂肪的积聚。If there is too much , ldl can accumulate and cause arterial disease .如果有太多的ldl,它就堆积并引起动脉血管疾病。Companies often accumulate the profit in the vie because there is considerable tax cost to getting it out .公司常常会把利润积存在vie中,因为要想把这些利润拿出来需要缴纳相当高的税款。accumulate相邻词汇
英文热门查询
中文热门查询}

我要回帖

更多关于 有意思的英文单词 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信