1、Map的使用方法:【常用】

put(key,item)包含add和replaceFor

get/getInt/getString包含itemFor

count/hasKey/

keysToArray/toArray 一个key一个item

removeKey/removeAll

2、HashMap的使用方法:【常用】-----dataMap包含mainCmd subCmd 和 消息对照表参数

keys 即 keysToArray

eachKey 遍历key的fuc

values 即内容

getLinkedList 读取array内容

直接用get即可,不用getInt之类的

3、LinkedList的使用方法:【常用】-----模仿链表

add/addFirst/addLast

IIterator: hasNext   next

4、Array的push arr.push({0:1,,1:2})

 

相关文章:

  • 2021-12-18
  • 2021-10-30
  • 2021-10-28
  • 2022-03-08
  • 2022-01-22
  • 2021-08-13
  • 2021-06-30
  • 2021-12-22
猜你喜欢
  • 2022-01-07
  • 2021-10-19
  • 2021-11-02
  • 2021-12-08
  • 2021-12-17
  • 2021-05-19
相关资源
相似解决方案