22/12/07

송은우·2022년 12월 7일
0

TIL

목록 보기
44/61
    Comparator<Entry<String, Integer>> comp2 = Entry.comparingByKey();
    Comparator<Entry<String, Integer>> comp1 = Comparator.comparingInt(Entry::getValue);
    Entry<String, Integer> result = map.entrySet().stream().sorted(comp2).max(comp1).get();
    

이 부분이 가장 기억에 남는 오늘 ps 문제
entry로 저렇게 꺼내올 수 있다

OpenSearch aws 훑어보기

profile
학생의 마음가짐으로 최선을 다하자

0개의 댓글