aboutsummaryrefslogtreecommitdiffstats
path: root/vdslib/src/main/java/com/yahoo/vdslib/distribution/RandomGen.java
blob: 472322f4e80789552031db1348c2613d3b94afbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vdslib.distribution;

public class RandomGen extends java.util.Random {

    public RandomGen() {
        super();
    }

    public RandomGen(long seed) {
        super(seed);
    }

    public void setSeed(long seed){
        super.setSeed(seed);
        nextDouble();
    }
}