RandomUtil.@Deprecated public class RandomUtil extends Object
| Constructor and Description |
|---|
RandomUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static float |
getFloat(float high)
Deprecated.
use
RandomUtil. |
static int |
getInt(int high)
Deprecated.
use
RandomUtil. |
static int |
getInt(int high,
int low)
Deprecated.
use
RandomUtil. |
static int |
getWeightedIndex(float[] weights)
Deprecated.
use
RandomUtil. |
static int |
getWeightedIndex(int[] weights)
Deprecated.
use
RandomUtil. |
static <T> T |
pickRandom(Collection<T> values)
Deprecated.
use
RandomUtil. |
static <T> T |
pickRandom(Iterator<T> iter,
int count)
Deprecated.
use
RandomUtil. |
static <T> T |
pickRandom(Iterator<T> iter,
int count,
T skip)
Deprecated.
use
RandomUtil. |
static <T> T |
pickRandom(List<T> values)
Deprecated.
use
RandomUtil. |
static <T> T |
pickRandom(List<T> values,
T skip)
Deprecated.
use
RandomUtil. |
static <T> T |
pickRandom(List<T> values,
T skip,
Random r)
Deprecated.
use
RandomUtil. |
static <T> T |
pickRandom(T[] values)
Deprecated.
use
RandomUtil. |
static <T> T |
pickRandom(T[] values,
T skip)
Deprecated.
use
RandomUtil. |
@Deprecated public static int getInt(int high)
RandomUtil.@Deprecated public static int getInt(int high, int low)
RandomUtil.@Deprecated public static float getFloat(float high)
RandomUtil.@Deprecated public static int getWeightedIndex(int[] weights)
RandomUtil.@Deprecated public static int getWeightedIndex(float[] weights)
RandomUtil.@Deprecated public static <T> T pickRandom(T[] values)
RandomUtil.@Deprecated public static <T> T pickRandom(T[] values, T skip)
RandomUtil.@Deprecated public static <T> T pickRandom(Collection<T> values)
RandomUtil.@Deprecated public static <T> T pickRandom(List<T> values)
RandomUtil.@Deprecated public static <T> T pickRandom(List<T> values, T skip)
RandomUtil.@Deprecated public static <T> T pickRandom(List<T> values, T skip, Random r)
RandomUtil.@Deprecated public static <T> T pickRandom(Iterator<T> iter, int count)
RandomUtil.@Deprecated public static <T> T pickRandom(Iterator<T> iter, int count, T skip)
RandomUtil.Copyright © 2015. All rights reserved.