org.eclipse.net4j.util.security
Interface IRandomizer

All Known Implementing Classes:
Randomizer

public interface IRandomizer


Method Summary
 byte[] generateSeed(int numBytes)
           
 boolean nextBoolean()
           
 void nextBytes(byte[] bytes)
           
 double nextDouble()
           
 float nextFloat()
           
 double nextGaussian()
           
 int nextInt()
           
 int nextInt(int n)
           
 long nextLong()
           
 String nextString(int length, String alphabet)
           
 

Method Detail

generateSeed

byte[] generateSeed(int numBytes)

nextBoolean

boolean nextBoolean()

nextDouble

double nextDouble()

nextFloat

float nextFloat()

nextGaussian

double nextGaussian()

nextInt

int nextInt()

nextInt

int nextInt(int n)

nextLong

long nextLong()

nextBytes

void nextBytes(byte[] bytes)

nextString

String nextString(int length,
                  String alphabet)


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.