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 자바
432
PART 02
함수형 접근 방식
간단하게 설명하기 위해
non
-
Async
변형에 대해 논의하겠습니다.
작업 합성
작업을 합성한다는 것은 연결된
CompletionStage
인스턴스들로 구성된 순차적인 파이프라
인을 만드는 것을 의미합니다.
모든 합성 연산은 일반적인 네이밍 규칙을 따릅니다.
<
operation
>[
Async
](
argument
[,
Executor
])
여기서
<
operation
>
은 연산의 타입과 그 인수에 기반하여 이름을 짓습니다. 주로 해당 함수
형 인터페이스의
SAM
이름과
then
접두사를 사용합니다.
●
CompletableFuture
<
Void
>
thenAccept
(
Consumer
<?
super
T
>
action
)
●
CompletableFuture
<
Void
>
thenRun
(
Runnable
action
)
●
CompletableFuture
<
U
>
thenApply
(
Function
<?
super
T
,?
extends
U
>
fn
)
API
의 적절한 네이밍 규칙 덕분에 어떤 연산을 사용하더라도 유연하고 직관적인 호출 체인
을 만들 수 있습니다. 예를 들어 영구적인 복사본을 저장하기 위해 웹사이트를 스크래핑하는
북마크 관리자를 만든다고 생각해보세요. 전체 작업은 비동기적으로 수행되어
UI
스레드를
중단시키지 않습니다. 이 작업은 세 단계로 구성됩니다. ...
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