public interface Random
The library used an object (or in fact, multiple ones in different places) implementing this interface to generate random numbers. These are used for several purposes:
The library will choose the implementation class by the configuration
random, and instantiate it using the no-argument
The library includes a default implementation, based on a
An application might implement this interface to provide an alternative random number generator, maybe based on some hardware device.
void fill(byte foo, int start, int len)
foo- the array to put the random data into.
start- the position in the array from where on the random data should be put.
len- the length of the segment to be filled with random data, in bytes. There will be
8 * lenrandom bits generated.
This is an inofficial Javadoc created by Paŭlo Ebermann. Have a look at the official homepage.