Package org.h2.test.utils
Class RandomDataUtils
- java.lang.Object
-
- org.h2.test.utils.RandomDataUtils
-
public final class RandomDataUtils extends java.lang.ObjectUtilities for random data generation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrandomChars(java.util.Random r, char[] chars)Fills the specified character array with random printable code points from the limited set of Unicode code points with different length in UTF-8 representation.
-
-
-
Method Detail
-
randomChars
public static void randomChars(java.util.Random r, char[] chars)Fills the specified character array with random printable code points from the limited set of Unicode code points with different length in UTF-8 representation.Debuggers can have performance problems on some systems when displayed values have characters from many different blocks, because too many large separate fonts with different sets of glyphs can be needed.
- Parameters:
r- the source of random datachars- the character array to fill
-
-