pth2134.log
로그인
pth2134.log
로그인
count()
taehoon
·
2023년 10월 22일
팔로우
0
0
( JAVA ) Stream
목록 보기
1/5
개수를 세줌
Arrays.stream(array).filter(i -> i == n).count();
람다식 매개변수 i가 i == n인 요소를 필터링한 후 그것의 갯수를 준다.
taehoon
건강
팔로우
다음 포스트
IntStream
0개의 댓글
댓글 작성