Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- String Constants Pool
- jvm memory model
- springboot maven plugin
- jpa pagination
- springboot-angular-jwt
- string comparison
- HHH000104
- springboot jwt example
- jvm 모델
- 기본 Manifest 속성이 없습니다
- springboot mongodb config
- install mongodb docker
- jwt token
- jvm 메모리 구조
- docker mongodb
- angular jwt
- mongodb install ec2
- springboot jwt
- jwt example
- spring jwt
- spring filter ordering
- JPA
- JWT
- jvm memory structure
- spring-boot-maven-plugin
- String Pool
- filter ordering
- intern
- Constants pool
- docker mongodb install
Archives
- Today
- Total
목록Kotlin (1)
개발블로그
kotlin data class multiple constructor
kotlin의 data class는 기본적으로 constructor, getter, setter를 생성해준다. 따라서 lombok library를 쓰는 것과 같이 루틴한 코드를 생략할 수 있다. 이 때 생성되는 constructor 스펙은 data class에 정의한 모든 field를 주입받는 형태이다. 기본 생성자 스펙 외의 다른 스펙의 생성자를 두고 싶다면 다음과 같이 정의한다. data class ResponseEntity( val code : Int ,var message: String? ,var payload: T?){ constructor(code: Int) : this(code, "", null) constructor(code: Int, message: String?) : this(code ..
Kotlin
2019. 12. 23. 15:12