Open in app
Circlee7
33 Followers
About

Sign in

33 Followers
About
Open in app

java8 Two Stream zip

Circlee7

Circlee7

·Oct 16, 2020

Java8 에는 두 stream을 zip 처리하는게 없다.

Reactor 나 Spring Webflux 의 Flux의 zip 과 같이 Stream을 사용하고 싶다.

Image for post
Image for post

stackoverflow에 다양한 방법들이 있었고

참조한 소스에 아래와 같이 Unit2 객체만 추가하여 기록용으로 저장.

출력:
1 A
2 B
3 C

More from Circlee7

엘디는 사랑입니다.

More From Medium

How the Most Dangerous Study of All Time Changed What We Know About Weight Loss

Michael Easter

What’s New in Flutter 2.0

Chris Sells in Flutter

The Fate Of Elon Musk’s Assistant Is A Cautionary Tale For Negotiating Salary

Nick Wolny in Entrepreneur's Handbook

How to Do 50 Things

Sophie Lucido Johnson in Forge

Stuck at Home, I Started Dating My Roommate

Mana Gale in The Bold Italic

A Psychological Trick to Evoke An Interesting Conversation

Minarella in Mind Cafe

“BUT THE ENVIRONMENTAL ISSUES WITH CRYPTOART WILL BE SOLVED SOON, RIGHT?”

everest pipkin

The Negative Side Effects of Beautiful Women

Kim Petersen in Living Out Loud

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store