AlgorithmExample4

来源:互联网 发布:龙卷风优化软件 编辑:程序博客网 时间:2024/06/08 04:28

算法练习 (之四)

1.使用Map、HashMap、LinkedHashMap构建key-value,来计算Array各元素出现的次数;

2.使用List、Arraylist来对各种Map进行排序;

3.使用内部类重写LinkHashMap的RemoveEldestEntry方法;

4.使用substring函数,截取需要的字符串;


0 0
原创粉丝点击