mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-01-02 13:56:40 +00:00
Renamings
This commit is contained in:
8
src/main/java/com/volmit/iris/util/Consumer6.java
Normal file
8
src/main/java/com/volmit/iris/util/Consumer6.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package com.volmit.iris.util;
|
||||
|
||||
@SuppressWarnings("hiding")
|
||||
@FunctionalInterface
|
||||
public interface Consumer6<A, B, C, D, E, F>
|
||||
{
|
||||
public void accept(A a, B b, C c, D d, E e, F f);
|
||||
}
|
||||
@@ -41,6 +41,12 @@ public class KList<T> extends ArrayList<T> implements List<T>
|
||||
add(e);
|
||||
}
|
||||
|
||||
public int indexOfAddIfNeeded(T v)
|
||||
{
|
||||
addIfMissing(v);
|
||||
return indexOf(v);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the last element
|
||||
*/
|
||||
|
||||
@@ -38,6 +38,11 @@ public class RNG extends Random
|
||||
{
|
||||
return new RNG(sx + signature);
|
||||
}
|
||||
|
||||
public RNG nextParallelRNG(long signature)
|
||||
{
|
||||
return new RNG(sx + signature);
|
||||
}
|
||||
|
||||
public RNG nextRNG()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user