package com.gexin.platform.open.service.other;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
public class RandomTest {
private static Map map = new HashMap<>();
private static int range = 100;private static Random rand = new Random();
public static void main(String[] args){
for(int i = 0 ;i<5000;i++){
map.put(rand.nextInt(range),"b");
System.out.println("size =" +map.size() + ",i=" + i);
}
}
}