public class RndKeyGenerator extends Object implements KeyGenerator<Object>
Random
's distribution to generate keys.
It doesn't offer any guarantee that the keys are unique.Constructor and Description |
---|
RndKeyGenerator() |
public static final Random rnd
public Object getKey()
getKey
in interface KeyGenerator<Object>
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.