@Beta public interface MaskingKeyGenerator
new MaskingKeyGenerator() { private final SecureRandom secureRandom = new SecureRandom(); public int nextInt() { return secureRandom.nextInt(); } };
Modifier and Type | Method and Description |
---|---|
int |
nextInt()
Return next random int similarly to
Random.nextInt() . |
int nextInt()
Random.nextInt()
.Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.