public interface FlawedRandomness extends RandomnessSource, IFlawed
RandomnessSource
that is intentionally flawed to create output patterns where a
truly random sequence would have none. All FlawedRandomness implementations are static inner classes inside this
interface, hopefully to avoid confusion with ones that are meant for general use. This implements IFlawed
as
well, to mark that it isn't for general-purpose use.
Modifier and Type | Interface and Description |
---|---|
static class |
FlawedRandomness.AddRotate
A flawed randomness source that adds a rotation of its state, to its state, every generation.
|
static class |
FlawedRandomness.BigCounter
A flawed randomness source that depends almost entirely on its starting state for any random-seeming results in
its output.
|
copy, next, nextLong
Copyright © Eben Howard 2012–2022. All rights reserved.