Java Random String randomString()

Here you can find the source of randomString()

Description

random String

License

Open Source License

Declaration

public static String randomString() 

Method Source Code

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

public class Main {
    public static String randomString() {
        return "test_" + Long.toHexString(Double.doubleToLongBits(Math.random()));
    }//from   www  .  j  a v a  2 s  .  c  o m
}

Related

  1. randomize(String[] orderedList)
  2. randomizeMap(Map map)
  3. randomlyRecaseCodePoints(Random random, String str)
  4. randomNumberString(int in)
  5. randomRealisticUnicodeString(Random r)
  6. randomString()
  7. randomString(final int length)
  8. randomString(int len)
  9. randomString(int length)