Back to project page misty.
The source code is released under:
MIT License
If you think the Android project misty listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.misty.math; // ww w . j av a 2 s . co m import java.util.Random; public class Utils { private static Random random = new Random(); public static int random(int min, int max) { return Utils.random.nextInt(max - min) + min; } }