Update RandomGenerator.java