Java Random Long randomLong()

Here you can find the source of randomLong()

Description

random Long

License

Apache License

Declaration

public static long randomLong() 

Method Source Code


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

import java.util.*;

public class Main {
    public static final Random RND = new Random();

    public static long randomLong() {
        return RND.nextLong();
    }/*from  www  .j  a  va2  s .c o m*/
}

Related

  1. random(long max)
  2. random(long min, long max)
  3. random(long range)
  4. randomHexOfLong(long max)
  5. randomLong()
  6. randomLong(long min, long max)
  7. randomLong(long x, long y)
  8. randomLongWithMinMax(long min, long max)
  9. randomSleep(long ms)