Sergent factory supports:

 

Quick Start:

Sergent rng = SergentFactory.getInstance();
int randInt = rng.randInt();
long randLong = rng.randLong();
List<Integer> fiveUniqueRandNumbersFromZeroToTen = rng.randIntList(0, 10, 5, true);
List<Integer> fiveUniqueRandNumbersFromZeroToTenWithProps = rng.randIntList(new SequenceProps().min(0).max(10).size(5).unique(true));
// a unique (no duplicates) random integer list starting from 1 to [max]
List<Integer> uniqueSequence = rng.uniformSequence(10_000);

 

Usage:

<dependency>
    <groupId>com.lindar</groupId>
    <artifactId>sergent</artifactId>
    <version>1.0.1</version>
</dependency>