/** * */ package de.fhswf.in.inf.java1.aufgabe08; import java.util.ArrayList; import java.util.List; /** * Main class for the LottoZiehung. * * @author $Author: $ * @version $Revision: $, $Date: $ UTC */ public final class LottoZiehungMain { /** * Private constructor for utility class. * */ private LottoZiehungMain() { } /** * Main function of the package. * * @param args * Command line arguments. */ public static void main(String[] args) { List l = new ArrayList(); l.add(1); System.out.println(FloydAndBentley.sample(l, 1).size()); System.out.println(FloydAndBentley.sample2(l, 1).size()); Lottery6OutOf49 spiel = new Lottery6OutOf49(); spiel.nextDraw(); List ziehung = spiel.getLastDraw(); Integer sonderzahl = spiel.getSuperzahl(); System.out.println(ziehung + " SonderZahl: " + sonderzahl); } }