| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT_LENGTH
The default length of a randomized
String. |
| 构造器和说明 |
|---|
RandomString()
|
RandomString(int length)
Creates a random
String provider where each value is of the given length. |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
hashOf(int value)
Represents an integer value as a string hash.
|
static String |
make()
Creates a random
String of RandomString.DEFAULT_LENGTH length. |
static String |
make(int length)
Creates a random
String of the given length. |
String |
nextString()
Creates a new random
String. |
public static String make()
String of RandomString.DEFAULT_LENGTH length.String.public static String hashOf(int value)
value - The value to represent as a string.Copyright © 2018. All rights reserved.