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

final class Rand extends Object
Random numbers for both the compress and decompress BZip2 classes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (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 Details

    • RNUMS

      private static final int[] RNUMS
  • Constructor Details

    • Rand

      Rand()
  • Method Details

    • rNums

      static int rNums(int i)
      Return the random number at a specific index.
      Parameters:
      i - the index
      Returns:
      the random number