aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/GT_IteratorRandom.java
blob: e0e33bfd42fd19bccd2e91e8aea7737e24b74525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
  }
}



/* 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

 */