Arrays.asList().contains() 활용
아래와 같이 활용.
String[] cust = {“0001″,”0002″,”0003″,”0004″,”0005”};
if(Arrays.asList(cust).contains(inputCode)) {
}
황트루치
by htrucci
아래와 같이 활용.
String[] cust = {“0001″,”0002″,”0003″,”0004″,”0005”};
if(Arrays.asList(cust).contains(inputCode)) {
}
by htrucci · Published 2019년 12월 24일 · Last modified 2019년 12월 26일
by htrucci · Published 2022년 6월 5일 · Last modified 2022년 6월 3일
by htrucci · Published 2020년 5월 14일 · Last modified 2020년 5월 19일
More
최근 댓글