public class MixWithSuiteName extends java.lang.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(java.lang.Class<?> suiteClass)
Called once after instantiation to set up the decorator.
|
public void initialize(java.lang.Class<?> suiteClass)
SeedDecoratorinitialize in interface SeedDecoratorpublic long decorate(long seed)
SeedDecoratorRandomness.decorate in interface SeedDecoratorCopyright © 2011–2018 Carrot Search s.c.. All rights reserved.