public final class DrawnLotteryNumbersFactory extends Object
DrawnLotteryNumbers objects with generated lottery numbers| Constructor and Description |
|---|
DrawnLotteryNumbersFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Map<Integer,Integer> |
newNumberCounterMap(int minVolume,
int maxVolume)
Factory method for create a map for count drawn numbers
|
static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers |
newRandomDrawnLotteryNumbers()
Factory method for create a new
DrawnLotteryNumbers object with all drawn numbers |
static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers |
newRandomDrawnLotteryNumbers(int max,
int volume)
Factory method for create a new
DrawnLotteryNumbers object with all drawn numbers |
static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers |
newRandomDrawnLotteryNumbers(int max,
int minVolume,
int maxVolume)
Factory method for create a new
DrawnLotteryNumbers object with all drawn numbers |
static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers |
newRandomDrawnLotteryNumbers(int max,
int minVolume,
int maxVolume,
int drawCount,
@NonNull de.alpharogroup.lottery.enums.LotteryAlgorithm algorithm)
Factory method for create a new
DrawnLotteryNumbers object with all drawn numbers
with the given algorithm |
static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers |
newRandomDrawnLotteryNumbers(int max,
int minVolume,
int maxVolume,
@NonNull de.alpharogroup.lottery.enums.LotteryAlgorithm algorithm)
Factory method for create a new
DrawnLotteryNumbers object with all drawn numbers
with the given algorithm |
static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers |
newRandomDrawnLotteryNumbersDefaultAlgorithm(int max,
int volume)
Factory method for create a new
DrawnLotteryNumbers object with all drawn numbers |
public static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers newRandomDrawnLotteryNumbers(int max,
int volume)
DrawnLotteryNumbers object with all drawn numbersmax - the max number to drawvolume - the volume of the numbers starts from 1 till volumeDrawnLotteryNumberspublic static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers newRandomDrawnLotteryNumbers(int max,
int minVolume,
int maxVolume)
DrawnLotteryNumbers object with all drawn numbersmax - the max number to drawminVolume - the min volumemaxVolume - the max volumeDrawnLotteryNumberspublic static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers newRandomDrawnLotteryNumbers(int max,
int minVolume,
int maxVolume,
@NonNull
@NonNull de.alpharogroup.lottery.enums.LotteryAlgorithm algorithm)
DrawnLotteryNumbers object with all drawn numbers
with the given algorithmmax - the max number to drawminVolume - the min volumemaxVolume - the max volumealgorithm - the algorithm to useDrawnLotteryNumberspublic static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers newRandomDrawnLotteryNumbers(int max,
int minVolume,
int maxVolume,
int drawCount,
@NonNull
@NonNull de.alpharogroup.lottery.enums.LotteryAlgorithm algorithm)
DrawnLotteryNumbers object with all drawn numbers
with the given algorithmmax - the max number to drawminVolume - the min volumemaxVolume - the max volumedrawCount - the draw count defines how many times to draw numbers. Note: only with map
algorithmalgorithm - the algorithm to useDrawnLotteryNumberspublic static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers newRandomDrawnLotteryNumbersDefaultAlgorithm(int max,
int volume)
DrawnLotteryNumbers object with all drawn numbersmax - the max number to drawvolume - the volume of the numbers starts from 1 till volumeDrawnLotteryNumberspublic static de.alpharogroup.lottery.drawings.DrawnLotteryNumbers newRandomDrawnLotteryNumbers()
DrawnLotteryNumbers object with all drawn numbersDrawnLotteryNumbersCopyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.