public List<int[]> recommend(List lottoData, int count, String ratioOption)
List<int[]>
: 이 함수가 리턴하는 값의 타입
로또 번호 6개(int[])를 10세트(List<int[]>) 리턴한다
recommend
: 내가 만든 LottoRecommendation 의 메서드 이름
List lottodata
: 과거의 로또 당첨 데이터를 담고 있는 리스트
int count
: 몇개의 추천 세트를 만들 건지 -> 10개
String ratioOption
: 홀짝 비율 조건 문자열로 전달
현재 지난 로또 결과값은
DrawRound + List
-> LottoDataConverter (DrawRound + List를 묶어주는)
-> LottoResult
LottoResult import 해주기!
import study.lotto.dto.LottoResult;