Java Random Number getNumberLong()

Here you can find the source of getNumberLong()

Description

get Number Long

License

Apache License

Declaration

private static long getNumberLong() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    private static java.util.Random ran = new java.util.Random();

    private static long getNumberLong() {
        return Math.abs(ran.nextLong());
    }//www .j a v  a 2s .  c om
}

Related

  1. getNumber(int length)
  2. getNumber(int seed)
  3. getNumberClose(int seed)
  4. getNumberedUsername(String fn, String ln)
  5. getNumberInRange(int minimum, int maximum)
  6. getNumbers()
  7. getNumbersAndAlphabet()
  8. getNumString(int length)
  9. getPhoneNumber()