getRandomValue

public static Object getRandomValue(Class<? extends Object> type)(source)

Returns a random value for the specified type.

Return

a random value for the specified type

Parameters

type

the type to generate a random value