Java ThreadLocalRandom createRandomName()

Here you can find the source of createRandomName()

Description

create Random Name

License

Open Source License

Declaration

public static String createRandomName() 

Method Source Code


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

import java.util.UUID;
import java.util.concurrent.ThreadLocalRandom;

public class Main {
    public static String createRandomName() {
        return ("uniqueDb" + UUID.randomUUID() + ThreadLocalRandom.current().nextLong()).replaceAll("-", "")
                .toLowerCase();//from ww  w  .  j  a  v  a 2  s .  com
    }
}

Related

  1. base62Random()
  2. createNewPin()
  3. createRandom(int number)
  4. createRandomNumbers(int length)
  5. generateDescription()
  6. generateRandomDoubleVector(int dimension, double bottomLimit, double topLimit)
  7. generateRandomisedId()