반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- KAFKA
- redis
- RabbitMQ
- grafana
- docker-compose
- argo cd
- docker
- docker compose mysql
- Hibernate
- netflix oss
- mybatis
- WebLogic
- JPA
- Airflow
- spring boot
- spring cloud
- vue.js
- weblogic 10
- cassandra
- Docker Compose
- Spring Open Feign
- jmeter
- Redis Sentinel
- QueryDSL
- spring boot redis
- MySQL
- Netty
- ChannelPipeline
- Selenium
- coalesce
Archives
- Today
- Total
목록2019/09/05 (1)
IT.FARMER
java null safe stream 생성 방법
java stream 에서 안전한 stream 을 생성 하여 사용 하는 방법에 대해 알아보자 . 해당 내용을 이해하기 위해서는 우선적으로 java8의 method refreences, Lamabda Expressions, Optional 등 Stream 에대한 기본인 방법에 익숙해야 한다. 기본적으로 Stream 만들기 Stream 객체로 Stream 생성 Stream charStream = Stream.of("A","B","C"); Collection 객체로 Stream 생성 Collection collection = Arrays.asList("A","B","C"); collection.stream(); 우리는 대게 Stream 을 사용할때 다음과 같이 사용한다. 이때 Null 을 가르키는 경우 Nul..
JAVA
2019. 9. 5. 13:40