Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.arbaro.params
Class Random

    java.lang.Object
      java.util.Random
          net.sourceforge.arbaro.params.Random

All Implemented Interfaces:
  java.io.Serializable

    public class Random

extends java.util.Random

Random class to add variations to the tree. It has methods getState() and setState() to save and restore the random seed

See Also:
  Serialized Form

Constructor Summary
`Random(long seed)`

Method Summary
`long` | `getState()`
`void` | `setState(long state)`
`double` | `uniform(double low, double high)`

Methods inherited from class java.util.Random
`next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Random

    public Random(long seed)

Method Detail

### uniform

    public double uniform(double low,
                          double high)

### getState

    public long getState()

### setState

    public void setState(long state)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD