|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectorg.nutz.lang.random.ArrayRandom<T>
public class ArrayRandom<T>
根据一个数组随机产生对象,每个对象只会被取出一次。 当数组耗尽,则一直返回 null
| 构造方法摘要 | |
|---|---|
ArrayRandom(T[] array)
|
|
| 方法摘要 | |
|---|---|
T |
next()
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ArrayRandom(T[] array)
| 方法详细信息 |
|---|
public T next()
Random<T> 中的 next
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||