how2j.cn


工具版本兼容问题
Collections是一个类,容器的工具类,就如同Arrays是数组的工具类


本视频是解读性视频,所以希望您已经看过了本知识点的内容,并且编写了相应的代码之后,带着疑问来观看,这样收获才多。 不建议一开始就观看视频



5分
本视频采用html5方式播放,如无法正常播放,请将浏览器升级至最新版本,推荐火狐,chrome,360浏览器。 如果装有迅雷,播放视频呈现直接下载状态,请调整 迅雷系统设置-基本设置-启动-监视全部浏览器 (去掉这个选项)。 chrome 的 视频下载插件会影响播放,如 IDM 等,请关闭或者切换其他浏览器



关键字 简介 示例代码
reverse
反转
示例代码
shuffle
混淆
示例代码
sort
排序
示例代码
swap
交换
示例代码
rotate
滚动
示例代码
synchronizedList
线程安全化
示例代码
练习-统计概率
示例代码
答案-统计概率
示例代码
步骤 1 : 反转   
步骤 2 : 混淆   
步骤 3 : 排序   
步骤 4 : 交换   
步骤 5 : 滚动   
步骤 6 : 线程安全化   
步骤 7 : 练习-统计概率   
步骤 8 : 答案-统计概率   

reverse 使List中的数据发生翻转
反转
package collection; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class TestCollection { public static void main(String[] args) { //初始化集合numbers List<Integer> numbers = new ArrayList<>(); for (int i = 0; i < 10; i++) { numbers.add(i); } System.out.println("集合中的数据:"); System.out.println(numbers); Collections.reverse(numbers); System.out.println("翻转后集合中的数据:"); System.out.println(numbers); } }
shuffle 混淆List中数据的顺序
混淆
package collection; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class TestCollection { public static void main(String[] args) { //初始化集合numbers List<Integer> numbers = new ArrayList<>(); for (int i = 0; i < 10; i++) { numbers.add(i); } System.out.println("集合中的数据:"); System.out.println(numbers); Collections.shuffle(numbers); System.out.println("混淆后集合中的数据:"); System.out.println(numbers); } }
sort 对List中的数据进行排序
排序
package collection; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class TestCollection { public static void main(String[] args) { //初始化集合numbers List<Integer> numbers = new ArrayList<>(); for (int i = 0; i < 10; i++) { numbers.add(i); } System.out.println("集合中的数据:"); System.out.println(numbers); Collections.shuffle(numbers); System.out.println("混淆后集合中的数据:"); System.out.println(numbers); Collections.sort(numbers); System.out.println("排序后集合中的数据:"); System.out.println(numbers); } }
swap 交换两个数据的位置
交换
package collection; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class TestCollection { public static void main(String[] args) { //初始化集合numbers List<Integer> numbers = new ArrayList<>(); for (int i = 0; i < 10; i++) { numbers.add(i); } System.out.println("集合中的数据:"); System.out.println(numbers); Collections.swap(numbers,0,5); System.out.println("交换0和5下标的数据后,集合中的数据:"); System.out.println(numbers); } }
rotate 把List中的数据,向右滚动指定单位的长度
滚动
package collection; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class TestCollection { public static void main(String[] args) { //初始化集合numbers List<Integer> numbers = new ArrayList<>(); for (int i = 0; i < 10; i++) { numbers.add(i); } System.out.println("集合中的数据:"); System.out.println(numbers); Collections.rotate(numbers,2); System.out.println("把集合向右滚动2个单位,标的数据后,集合中的数据:"); System.out.println(numbers); } }
synchronizedList 把非线程安全的List转换为线程安全的List。 因为截至目前为止,还没有学习线程安全的内容,暂时不展开。 线程安全的内容将在多线程章节展开。
package collection; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class TestCollection { public static void main(String[] args) { List<Integer> numbers = new ArrayList<>(); System.out.println("把非线程安全的List转换为线程安全的List"); List<Integer> synchronizedNumbers = (List<Integer>) Collections.synchronizedList(numbers); } }
package collection;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class TestCollection {
	public static void main(String[] args) {
		List<Integer> numbers = new ArrayList<>();

		System.out.println("把非线程安全的List转换为线程安全的List");
        List<Integer> synchronizedNumbers = (List<Integer>) Collections.synchronizedList(numbers);

	}
}
步骤 7 :

练习-统计概率

edit  姿势不对,事倍功半! 点击查看做练习的正确姿势
首先初始化一个List,长度是10,值是0-9。
然后不断的shuffle,直到前3位出现
3 1 4

shuffle 1000,000 次,统计出现的概率
步骤 8 :

答案-统计概率

edit
在查看答案前,尽量先自己完成,碰到问题再来查看答案,收获会更多
在查看答案前,尽量先自己完成,碰到问题再来查看答案,收获会更多
在查看答案前,尽量先自己完成,碰到问题再来查看答案,收获会更多
查看本答案会花费3个积分,您目前总共有点积分。查看相同答案不会花费额外积分。 积分增加办法 或者一次性购买JAVA 中级总计0个答案 (总共需要0积分)
查看本答案会花费3个积分,您目前总共有点积分。查看相同答案不会花费额外积分。 积分增加办法 或者一次性购买JAVA 中级总计0个答案 (总共需要0积分)
账号未激活 账号未激活,功能受限。 请点击激活
本视频是解读性视频,所以希望您已经看过了本答案的内容,带着疑问来观看,这样收获才多。 不建议一开始就观看视频

2分50秒 本视频采用html5方式播放,如无法正常播放,请将浏览器升级至最新版本,推荐火狐,chrome,360浏览器。 如果装有迅雷,播放视频呈现直接下载状态,请调整 迅雷系统设置-基本设置-启动-监视全部浏览器 (去掉这个选项)。 chrome 的 视频下载插件会影响播放,如 IDM 等,请关闭或者切换其他浏览器


答案-统计概率
package collection; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class TestCollection { public static void main(String[] args) { List<Integer> ls = new ArrayList<>(); for (int i = 0; i < 10; i++) { ls.add(i); } int count = 0; for (int i = 0; i < 1000 * 1000; i++) { Collections.shuffle(ls); if(ls.get(0)==3 && ls.get(1)==1 && ls.get(2)==4) count++; } double rate = count/(1000d*1000); System.out.println("出现的概率是"+rate*100+"%"); } }


HOW2J公众号,关注后实时获知最新的教程和优惠活动,谢谢。


问答区域    
2024-07-11 shuffle100万次出现314开头的概率为0.14%
虚心求学




运行结果: [3, 1, 4, 7, 6, 5, 0, 9, 8, 2] [3, 1, 4, 7, 0, 9, 2, 5, 8, 6] [3, 1, 4, 0, 8, 9, 2, 5, 7, 6] [3, 1, 4, 5, 9, 6, 8, 7, 2, 0] [3, 1, 4, 9, 2, 0, 6, 8, 5, 7] [3, 1, 4, 9, 6, 7, 8, 2, 0, 5] [3, 1, 4, 0, 2, 8, 9, 5, 7, 6] [3, 1, 4, 9, 7, 2, 0, 6, 5,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, 6, 0, 7, 2, 8, 5] [3, 1, 4, 2, 6, 9, 5, 8, 7, 0] [3, 1, 4, 0, 6, 9, 7, 8, 5, 2] [3, 1, 4, 0, 6, 9, 7, 8, 2, 5] [3, 1, 4, 2, 0, 7, 5, 6, 8, 9] [3, 1, 4, 6, 7, 5, 0, 2, 9, 8] [3, 1, 4, 7, 8, 6, 2, 5, 9, 0] [3, 1, 4, 9, 8, 5, 0, 6, 7, 2] [3, 1, 4, 0, 2, 5, 7, 8, 6, 9] [3, 1, 4, 7, 2, 8, 5, 6, 9, 0] [3, 1, 4, 9, 5, 8, 0, 6, 2, 7] [3, 1, 4, 9, 6, 2, 8, 7, 5, 0] [3, 1, 4, 9, 8, 6, 2, 7, 0, 5] [3, 1, 4, 9, 8, 7, 6, 0, 5, 2] [3, 1, 4, 9, 7, 0, 8, 2, 6, 5] [3, 1, 4, 8, 7, 6, 2, 0, 5, 9] [3, 1, 4, 9, 6, 5, 7, 2, 0, 8] [3, 1, 4, 5, 7, 0, 2, 6, 8, 9] [3, 1, 4, 5, 0, 9, 6, 7, 2, 8] [3, 1, 4, 7, 6, 2, 8, 0, 9, 5] [3, 1, 4, 8, 2, 5, 9, 6, 7, 0] [3, 1, 4, 9, 6, 5, 2, 7, 8, 0] [3, 1, 4, 9, 5, 0, 2, 8, 6, 7] [3, 1, 4, 5, 6, 8, 9, 0, 7, 2] [3, 1, 4, 6, 9, 0, 8, 7, 2, 5] [3, 1, 4, 7, 6, 0, 2, 9, 5, 8] [3, 1, 4, 8, 6, 9, 0, 7, 2, 5] [3, 1, 4, 7, 9, 6, 5, 8, 2, 0] 出现的概率是0.14%
	public static void main(String[] args) {
		List<Integer> list = new ArrayList<>();
		for (int i = 0; i < 10; i++) {
			list.add(i);
		}
		int appearCount = 0;
		for (int i = 0; i < 1000000; i++) {
				Collections.shuffle(list);
				if(startAt(list, 3,1,4))
				{
					appearCount++;
					System.out.println(list);
				}
					
		}
		System.out.println(String.format("出现的概率是%.2f%%",appearCount/10000.0 ));

	}
	public static boolean startAt(List<Integer> list,int...is)
	{
		for (int i = 0; i < is.length; i++) {
			if(list.get(i)!=is[i])
			{
				return false;
			}
				
		}
		return true;
	}

							





回答已经提交成功,正在审核。 请于 我的回答 处查看回答记录,谢谢
答案 或者 代码至少填写一项, 如果是自己有问题,请重新提问,否则站长有可能看不到





2022-08-23 答案
苏洛苡




答案
package com.company.test;

import java.util.List;
import java.util.ArrayList;
import java.util.Collections;

public class TestShuffle {
	public static void main(String[] args) {
		List<Integer> number = new ArrayList<>();
		//初始化一个List,长度为10
		for(int i = 0;i<10;i++){
			number.add(i);
		}
		//不断地shuffle,直到前三位出现314
		//shuffle 1000,000次,统计出现的概率
		int show = 0;  //314出现的次数
		double sum = 1000000;
		for(int i = 0;i<1000000;i++) {
			int[]same = new int[3];
			Collections.shuffle(number);
			for(int j = 0;j<same.length;j++) {
				same[j] = number.get(j);
				if(same[0]==3 && same[1]==1 && same[2]==4) {
					show++;
					System.out.println(number);
					System.out.println("出现总次数:"+show);
				}
			}
		}
		double result = show/sum;
		System.out.println("概率为:"+result);
	}
}

							


4 个答案

wr123
答案时间:2023-11-28
package collection; import java.util.HashMap; import java.util.*; import java.util.Map.Entry; import charactor.Hero; public class TestCollection { public static void main(String[] args) { List<Integer> numbers = new ArrayList<>(); double count=0; for (int i = 0; i < 10; i++) { numbers.add(i); } for(int i=0;i<1000000;i++){ Collections.shuffle(numbers); if(numbers.get(0).equals(3)&&numbers.get(1).equals(1)&&numbers.get(2).equals(4)){ count++; } } System.out.println("前三位出现3,1,4的概率为:"+count/1000000); } }

玉子
答案时间:2023-11-02
xiaoba_java
答案时间:2023-10-08
我觉得这个代码效率会更高效吧

MingQiangXia
答案时间:2022-10-25



回答已经提交成功,正在审核。 请于 我的回答 处查看回答记录,谢谢
答案 或者 代码至少填写一项, 如果是自己有问题,请重新提问,否则站长有可能看不到





2022-05-31 答案
2022-01-21 第一题
2021-08-17 答案


提问太多,页面渲染太慢,为了加快渲染速度,本页最多只显示几条提问。还有 32 条以前的提问,请 点击查看

提问之前请登陆
提问已经提交成功,正在审核。 请于 我的提问 处查看提问记录,谢谢
关于 JAVA 中级-集合框架-Collections 的提问

尽量提供截图代码异常信息,有助于分析和解决问题。 也可进本站QQ群交流: 578362961
提问尽量提供完整的代码,环境描述,越是有利于问题的重现,您的问题越能更快得到解答。
对教程中代码有疑问,请提供是哪个步骤,哪一行有疑问,这样便于快速定位问题,提高问题得到解答的速度
在已经存在的几千个提问里,有相当大的比例,是因为使用了和站长不同版本的开发环境导致的,比如 jdk, eclpise, idea, mysql,tomcat 等等软件的版本不一致。
请使用和站长一样的版本,可以节约自己大量的学习时间。 站长把教学中用的软件版本整理了,都统一放在了这里, 方便大家下载: https://how2j.cn/k/helloworld/helloworld-version/1718.html

上传截图