java.lang.Object
develop.toolkit.base.utils.RandomAdvice
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TnextElement(List<T> list) 随机一个元素static <T> List<T>nextElements(List<T> list, int count) 随机count个元素static int[]nextInts(int startInclusive, int endExclusive, int count) 随机count个整数
-
Constructor Details
-
RandomAdvice
public RandomAdvice()
-
-
Method Details
-
nextInts
public static int[] nextInts(int startInclusive, int endExclusive, int count) 随机count个整数 -
nextElements
随机count个元素 -
nextElement
随机一个元素
-