목록list (2)
NOW OR NEVER
Stream import import java.util.stream.Stream; import java.util.stream.Collectors; 배열의 경우 : Arrays.stream()으로 시작 리스트의 경우 : list변수이름.stream()으로 시작 .filter(인자 -> 인자의 조건) method(A::B) = A의 메소드인 B를 참조하여 method화 max(), min() : 최대값, 최소값 구하기 getAsInt() : 해당 요소를 Integer화 .sorted() 기본은 오름차수 정렬 .sorted(Comparator.reverseOrder()) -> 내림차순 정렬 .sorted(Comparator.comparing(A::B)) -> Comparctor 조건에 따라 정렬, 두 가지 이..

태그 의미가 있는 symantic 태그 사용하기 element(node): contents Box item들을 sectioning 쉽게 도와주는 태그들 안에 contents가 없으면 사용자에게 보여지지 않음 ex) header, footer, aside, main, section, article, nav, div, span, form div 태그가 아닌 section 태그(header,nav, asiede, main, footer 등)로 구역을 나누는 것이 좋다 article 태그 : 여러가지 item들을 그룹화해서 재사용 가능한 아이들이 모아져 있는 것을 말함, 반복되는 아이들을 묶어준 것 div 태그 : 묶어서 스타일링 할 경우, 혹은 그냥 묶고 싶을 때 아무때나 잘 쓰임 h1태그는 contents를..