summaryrefslogtreecommitdiffstats
path: root/vdslib/src/main/java/com/yahoo/vdslib/distribution/RandomGen.java
blob: 9a0a126452962353622d9ee8f5091131177b5126 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2016 Yahoo Inc. 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();
    }
}