public final class DrawnLotteryNumbersExtensions extends Object
DrawnLotteryNumbersExtensions.| Constructor and Description |
|---|
DrawnLotteryNumbersExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static Set<Integer> |
draw(int maxNumbers,
int volume)
Draw of lottery numbers.
|
static Set<Integer> |
draw(int maxNumbers,
int minVolume,
int maxVolume)
Draw of lottery numbers.
|
static Set<Integer> |
drawDefaultAlgorithm(int maxNumbers,
int minVolume,
int maxVolume)
This draw algorithm simulates the real world.
|
static int |
drawGameSeventySeven()
Draw the number of the game seventy seven
|
static int |
drawSuperNumber(Set<Integer> alreadyDrawnNumbers,
int volume)
Draws a super number that is not in the given already drawn numbers
Set. |
static int |
drawSuperNumber(Set<Integer> alreadyDrawnNumbers,
int minVolume,
int maxVolume)
Draws a super number that is not in the given already drawn numbers
Set. |
public static int drawSuperNumber(Set<Integer> alreadyDrawnNumbers, int volume)
Set.alreadyDrawnNumbers - the already drawn numbersvolume - the volume of the numbers starts from 1 till volumepublic static int drawSuperNumber(Set<Integer> alreadyDrawnNumbers, int minVolume, int maxVolume)
Set.alreadyDrawnNumbers - the already drawn numbersminVolume - the min volumemaxVolume - the max volumepublic static int drawGameSeventySeven()
public static Set<Integer> draw(int maxNumbers, int volume)
maxNumbers - the max number to drawvolume - the volume of the numbers starts from 1 till volumepublic static Set<Integer> draw(int maxNumbers, int minVolume, int maxVolume)
maxNumbers - the maximum of numbers to drawminVolume - the min volumemaxVolume - the max volumepublic static Set<Integer> drawDefaultAlgorithm(int maxNumbers, int minVolume, int maxVolume)
maxNumbers - the max number to drawminVolume - the min volumemaxVolume - the volume of the numbers starts from 1 till volumeCopyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.