摘要:
package thread; public class Test01 extends Thread{ int coun = 0; @Override public void run(){ // currentThread():返回当前线程 System.out.println(Thread.cur 阅读全文
posted @ 2022-03-30 19:04
Tzeao
阅读(46)
评论(0)
推荐(0)
摘要:
Collections 操作Set、List和Map等集合的工具类 排序操作: reverse(List):反转List集合中元素的顺序shuffle(List):对List集合元素进行随机排序sort:根据List元素的自然排序对集合元素进行升序排序sort(List,Comparator):根据 阅读全文
posted @ 2022-03-30 19:04
Tzeao
阅读(71)
评论(0)
推荐(0)

浙公网安备 33010602011771号