mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-23 00:28:02 +00:00
Cleanup
This commit is contained in:
1 parent
ca035f9447
commit
eb82b44726
51 files changed
+287
-524
No files matched your search
@@ -625,14 +625,11 @@ public class KList<T> extends ArrayList<T> implements List<T> {
|
||||
return get(M.irand(0, last()));
|
||||
}
|
||||
|
||||
public KList<T> popRandom(RNG rng, int c)
|
||||
{
|
||||
public KList<T> popRandom(RNG rng, int c) {
|
||||
KList<T> m = new KList<>();
|
||||
|
||||
for(int i = 0; i < c; i++)
|
||||
{
|
||||
if(isEmpty())
|
||||
{
|
||||
for (int i = 0; i < c; i++) {
|
||||
if (isEmpty()) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user