Here you can find the source of getRandom()
@Deprecated public static Random getRandom()
//package com.java2s; //License from project: Open Source License import java.util.*; public class Main { @Deprecated/*from ww w. ja v a 2 s . c o m*/ private static Random random = new Random(); @Deprecated public static Random getRandom() { return random; } }