Class WhiteNoiseGenerator.WhiteNoiseBuilder
java.lang.Object
de.articdive.jnoise.generators.noisegen.random.white.WhiteNoiseGenerator.WhiteNoiseBuilder
- All Implemented Interfaces:
NoiseSourceBuilder
- Enclosing class:
- WhiteNoiseGenerator
@NullMarked
public static final class WhiteNoiseGenerator.WhiteNoiseBuilder
extends Object
implements NoiseSourceBuilder
Builder for the
WhiteNoiseGenerator
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the NoiseSource.setSeed
(long seed) Sets the seed for theWhiteNoiseGenerator
.
-
Method Details
-
setSeed
Sets the seed for theWhiteNoiseGenerator
.- Parameters:
seed
- the new seed for theWhiteNoiseGenerator
.- Returns:
WhiteNoiseGenerator.WhiteNoiseBuilder
this
-
build
Description copied from interface:NoiseSourceBuilder
Builds the NoiseSource.- Specified by:
build
in interfaceNoiseSourceBuilder
- Returns:
NoiseSource
resulting from the parameters of theNoiseSourceBuilder
.
-