kudl

  • 홈
  • 태그
  • 방명록

Java8 2

Java Stream GroupingBy 사용

JAVA에서 Stream의 GroupingBy 사용하는 몇가지 예제이다. GroupingBy 예제를 위한 Fruit Class public class Fruit { private final int id; private final String name; private final int quantity; private final BigDecimal price; public Fruit(final int id, final String name, final int quantity, final BigDecimal price) { this.id = id; this.name = name; this.quantity = quantity; this.price = price; } public int getId() { retu..

Develop/java,spring 2020.11.26

JAVA 버전별 특징

JAVA 8 기본 GC > Parallel GC Lambda Expression Repeating Annotation import java.lang.annotation.Repeatable; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Repeatable(Colors.class) @interface Color { String name(); } @Retention(RetentionPolicy.RUNTIME) @interface Colors { Color[] value(); } @Color(name = "red") @Color(name = "blue") @Color(name = "green") class..

Develop/java,spring 2020.11.20
1
더보기
프로필사진

  • 분류 전체보기 (37)
    • Develop (26)
      • java,spring (15)
      • infra (9)
      • EDD (1)
      • 기타 (1)
    • MAC OS (3)
    • 캠핑 (8)

Tag

master, Java8, m1 mac os, test, 데이터독, JAVA11, @trace, docker-compose, spring boot, dockerfile, 앰플리튜드, Kubernetes, spring, elasticsearch, debezium, jpa, java, Docker, Rancher Desktop, k8s,

최근글과 인기글

  • 최근글
  • 인기글

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
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

티스토리툴바