Java Random getRandomUUID()

Here you can find the source of getRandomUUID()

Description

get Random UUID

License

Apache License

Declaration

public static String getRandomUUID() 

Method Source Code

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

import java.util.*;

public class Main {
    public static String getRandomUUID() {
        UUID uuid = UUID.randomUUID();
        return uuid.toString();
    }//from  w ww.ja  v  a  2s . c o m
}

Related

  1. getRandomFloatArray()
  2. getRandomObject()
  3. getRandomPort(int low, int high)
  4. getRandomRequestId(Integer serviceId)
  5. getRandomServices(int maxSize)
  6. isRandomList(List list)
  7. medianHelper(List list, int k, Random r)
  8. multSample(Random rng, double[] vals, double normsum)
  9. permute(Object[] arr, Random random)