인프런 커뮤니티 질문&답변
AccountPredicates 클래스 질문있습니다.
작성
·
232
2
안녕하세요.
AccountPredicates클래스에서 태그와 지역정보를 찾는 메소드를 static으로 선언해두신 이유가 궁금해서 질문남깁니다!
생성자 주입을 받지 않고 단순히 아래와 같이 static method로 사용하기 위함인가요??
public static Predicate findByTagsAndZones(Set<Tag> tags, Set<Zone> zones)
AccountPredicates.findByTagsAndZones





