Java Random Int RandomInteger()

Here you can find the source of RandomInteger()

Description

Random Integer

License

Open Source License

Declaration

public static int RandomInteger() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int RandomInteger() {
        // same id for tests
        return 2;
        //return    (int)(Math.random() * ((100000) + 1));
    }/*  ww  w .ja v a2  s . c  o m*/
}

Related

  1. randomInt(int in)
  2. randomInt(int low, int high)
  3. randomInt(int min, int max)
  4. randomInt(int mn, int mx)
  5. randomInt(int n)
  6. randomInteger(final int upperRange)
  7. randomInteger(int low, int high)
  8. randomInteger(int min, int max)
  9. randomIntFromInterval(int min, int max)