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 자바
101
CHAPTER 03
JDK의 함수형 인터페이스
인터페이스는 다중 상속을 허용하기 때문에 함수형 인터페이스를 추가하는 것은 문제가 되
지 않습니다. 함수형 인터페이스의
SAM
은 실제 작업을 수행하는 메서드를 호출하는 간단한
기본 메서드입니다. 이렇게 함으로써 어떤 커맨드도 변경할 필요 없이 모든 커맨드들이
Sup-
plier
<
String
>
를 인수로 받는 어떤 고차 함수
higher
-
order
function
와도 호환성을 갖추게 됩니다.
이 경우 메서드 참조를 브리지
bridge
로 사용하지 않아도 됩니다.
예를 들어 이전에 정의한
TextEditorCommand
를
Supplier
<
String
>
로 확장한 경우
TextE-
ditorCommand
를 인수로 받는 고차 함수에 쉽게 전달할 수 있습니다. 이렇게 하면 함수형 스
타일을 활용하여 명령들을 더 쉽게 사용하고 조합할 수 있습니다. 또한 기존의 명령들에게는
아무런 영향을 주지 않고 더 유연하고 향상된 사용성을 제공합니다.
CAUTION
기존 인터페이스가 함수형 인터페이스를 구현하고 있는지 확인하여 기존의 인터페이스를 실수
로 덮어쓰지 않도록 주의하세요.
하나 이상의 함수형 인터페이스를 구현하는 것은 여러분의 타입에 함수형 시작점을 제공하는
훌륭한 방법이며, 함수형 인터페이스에서 사용 가능한 모든 추가 기본
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