Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
함수형 프로그래밍 with 자바
by
벤 바이디히
,
허귀영
March 2024
Beginner to intermediate
528 pages
10h 48m
Korean
Hanbit Media, Inc.
Content preview from
함수형 프로그래밍 with 자바
168
PART 02
함수형 접근 방식
.
stream
()
.
filter
(
entry
->
entry
.
getKey
()
>=
minimumYear
)
❶
.
sorted
(
Comparator
.
comparing
(
Map
.
Entry
::
getKey
))
❷
.
map
(
Map
.
Entry
::
getValue
)
❸
.
flatMap
(
List
::
stream
)
❹
.
toList
();
❺
}
❶
최소 년도 이상의 앨범에 대한 항목을 필터링합니다.
❷
해당 연도별로 제목 목록을 정렬합니다.
❸
항목을 실제값으로 반환합니다.
❹
flatMap
호출은 파이프라인의 단일 요소로, 연도별 제목을 포함하는
List
<
String
>
요소를 평탄화하는 데
사용됩니다.
❺
요소를
List
<
String
>
으로 수집합니다.
각 스트림 연산에서는 실제 데이터를 나타내는 직관적인 이름 대신에,
getKey
또는
getVal-
ue
같은 메서드를 사용해야 합니다. 이런 문제를 해결하기 위해 중간 자료형을 활용하면 스
트림 파이프라인과 같은 복잡한 데이터 처리 작업에서 직관성을 향상시킬 수 있습니다. 사실
어떠한 데이터 처리 과정에서도 직관성을 높일 수 있습니다. 심지어 로직의 일부를 레코드에
포함시켜 각 작업마다 메서드 참조나 단일 호출을 이용할 수도 있습니다.
여러분이 보유하고 있는 데이터의 형식과 표현 방식을 깊게 고민한 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
실무로 통하는 클린 코드
막시밀리아노 콘티에리
함수형 사고: 객체지향 개발자에서 함수형 개발자로 거듭나기
김재완, 닐 포드
러닝 Go : Go 개발자처럼 생각하는 방법
존 보드너
AI를 위한 필수 수학
할라 넬슨
Publisher Resources
ISBN: 9791169212175