package com.imooc.collection;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
public class Testsort {
public int qiusuijishu(int length)
{
Random random=new Random();
int k=random.nextInt(length);
return k;
}
public String shengchengsuijizifuchuan(int changdu)
{
String choose="1234567890abcdefghijklmnopqrstABCDEFGHIGKLMNOPQRST";
StringBuffer sBuffer=new StringBuffer();
int length=choose.length();
for(int i=0;i newlist3=new ArrayList();
for(int i=0;i }
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/835/viewspace-2799764/ ,如需转载,请注明出处,否则将追究法律责任。