## **2. 자바 기초** ### **목표** stream을 사용해보자 ### **학습할 것 (필수)** 컬렉션 프레임 워크 (JCF ( Java Collection Framework )) Stream의 특징 정리 (map, filter, sorted, distinct, limit. foreach) **Collection.forEach 와 Stream.forEach 의 차이** for문을 stream으로 변환하는 법 ### **링크** ## **자바 실습** racingcar에 for문을 최대한 삭제해보세요. ## **주의 사항 (소프트웨어 의식적 연습 - 객체지향 생활 체조 원칙)** ```java 규칙 1: 한 메서드에 오직 한 단계의 들여쓰기(indent)만 한다. 규칙 2: else 예약어를 쓰지 않는다. 규칙 3: 모든 원시값과 문자열을 포장한다. 규칙 4: 한 줄에 점을 하나만 찍는다. 규칙 5: 줄여쓰지 않는다(축약 금지). 규칙 6: 모든 엔티티를 작게 유지한다. 규칙 7: 2개 이상의 인스턴스 변수를 가진 클래스를 쓰지 않는다. 규칙 8: 일급 콜렉션을 쓴다. 규칙 9: 게터/세터/프로퍼티를 쓰지 않는다. 규칙 10: 한 메서드에 10줄 이상 사용하지 않는다. ```
Activity
PandaHun commentedon Apr 29, 2021
실습 및 내용 정리는 전부 완료된 후 PR 올려주세요
또한, PR 이후 Issue에 코멘트 달아주세요
dbswl067 commentedon May 2, 2021
10주차 완료
url: https://github.com/dbswl067/2021-Java-Study/tree/10weeks
BLINK-ONCE commentedon May 2, 2021
10주차 완료
url: https://github.com/BLINK-ONCE/2021-Java-Study/tree/10weeks
DongLee99 commentedon May 2, 2021
10주차 완료
url: https://github.com/DongLee99/2021-Java-Study/tree/10week
jeongyuneo commentedon May 2, 2021
10주차 완료
url: https://github.com/jeongyuneo/2021-Java-Study/tree/9주차
dustndus8 commentedon May 2, 2021
10주차 완료
url: https://github.com/dustndus8/2021-Java-Study-1/tree/hw9
Livenow14 commentedon May 2, 2021
https://gist.github.com/Livenow14/106a612e1ac3d70525ad21a7056e0021
<script src="https://gist.github.com/Livenow14/106a612e1ac3d70525ad21a7056e0021.js"></script>