public interface Random
void fill(byte[] bytes, int start, int len)
bytes
- byte array to be filled.start
- index to start filling at.len
- length of segment to fill.int random(int n)
int
in the half-open range [0, n).Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.