public class MixWithSuiteName extends Object implements SeedDecorator
SeedDecorator
to be used with SeedDecorators
annotation
to modify the master Randomness
with a hash off the suite's class name.Constructor and Description |
---|
MixWithSuiteName() |
Modifier and Type | Method and Description |
---|---|
long |
decorate(long seed)
Called to decorate the initial seed for a
Randomness . |
void |
initialize(Class<?> suiteClass)
Called once after instantiation to set up the decorator.
|
public void initialize(Class<?> suiteClass)
SeedDecorator
initialize
in interface SeedDecorator
public long decorate(long seed)
SeedDecorator
Randomness
.decorate
in interface SeedDecorator
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.