public static int getRandom( int min,int max) { max++; return (int) (min + Math.random() * (max - min)); }