Code example for Random

0
 
  private File backupFile;
 
  private OutputStream backupStream;
 
  private Random r = new Random();
 
  private boolean closed;
 
  private int pos = 0;
 
  private long filePos = 0;
 
  private int bytesWrittenToBlock = 0;
 
  private byte[] outBuf;
 
  private List<Block> blocks = new ArrayList<Block>();
 
  private Block nextBlock;