T - public class ResultCollection<T> extends Object implements Collection<T>
| Constructor and Description |
|---|
ResultCollection(List<T> result) |
ResultCollection(Set<T> result) |
| Modifier and Type | Method and Description |
|---|---|
T |
first() |
T |
last() |
ResultCollection<T> |
pickNrandom(int count) |
ResultCollection<T> |
shuffle() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArraypublic ResultCollection<T> pickNrandom(int count)
public T first()
public T last()
public ResultCollection<T> shuffle()
Copyright © 2019. All rights reserved.