T - 元素类型public class RandomSelector<T> extends ArrayList<T> implements Selector<T>
modCount| Constructor and Description |
|---|
RandomSelector()
构造
|
RandomSelector(Iterable<T> objList)
构造
|
| Modifier and Type | Method and Description |
|---|---|
T |
select()
选择下一个对象
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streamCopyright © 2025. All rights reserved.