org.apache.commons.compress.compressors.bzip2
Class Rand

java.lang.Object
  extended by org.apache.commons.compress.compressors.bzip2.Rand

final class Rand
extends java.lang.Object

Random numbers for both the compress and decompress BZip2 classes.


Field Summary
private static int[] RNUMS
           
 
Constructor Summary
Rand()
           
 
Method Summary
(package private) static int rNums(int i)
          Return the random number at a specific index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RNUMS

private static final int[] RNUMS
Constructor Detail

Rand

Rand()
Method Detail

rNums

static int rNums(int i)
Return the random number at a specific index.

Parameters:
i - the index
Returns:
the random number