GT5-Unofficial/main/java/gregtech/common/GT_IteratorRandom.java

24 lines
618 B
Java
Raw Normal View History

2015-06-23 22:29:05 +00:00
package gregtech.common;
import java.util.Random;
public class GT_IteratorRandom
extends Random
{
private static final long serialVersionUID = 1L;
public int mIterationStep = 2147483647;
public int nextInt(int aParameter)
{
if ((this.mIterationStep == 0) || (this.mIterationStep > aParameter)) {
this.mIterationStep = aParameter;
}
return --this.mIterationStep;
}
}
2015-04-23 16:14:22 +00:00
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
* Qualified Name: gregtech.common.GT_IteratorRandom
* JD-Core Version: 0.7.0.1
*/