일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- GIT
- 자바암호
- 웹 크롤링
- 시스템
- Database
- write by chatGPT
- 코틀린
- 자바네트워크
- JVM
- 뉴턴역학
- 자바
- 고전역학
- oracle
- android
- GPT-4's answer
- 유닉스
- 역학
- 리눅스
- NIO
- 인프라
- write by GPT-4
- chatGPT's answer
- Spring Batch
- kotlin
- Spring boot
- python
- Java
- 소프트웨어공학
- lombok
- 파이썬
- Today
- Total
목록Library (44)
Akashic Records
Never write public int getFoo() {return foo;} again. Overview You can annotate any field with @Getter and/or @Setter, to let lombok generate the default getter/setter automatically. A default getter simply returns the field, and is named getFoo if the field is called foo (or isFoo if the field's type is boolean). A default setter is named setFoo if the field is called foo, returns void, and take..
@Cleanup Automatic resource management: Call your close() methods safely with no hassle. Overview You can use @Cleanup to ensure a given resource is automatically cleaned up before the code execution path exits your current scope. You do this by annotating any local variable declaration with the @Cleanup annotation like so: @Cleanup InputStream in = new FileInputStream("some/file"); As a result,..
@NonNull or: How I learned to stop worrying and love the NullPointerException. @NonNull was introduced in lombok v0.11.10. Overview You can use @NonNull on the parameter of a method or constructor to have lombok generate a null-check statement for you. Lombok has always treated various annotations generally named @NonNull on a field as a signal to generate a null-check if lombok generates an ent..
val Finally! Hassle-free final local variables. val was introduced in lombok 0.10. Overview You can use val as the type of a local variable declaration instead of actually writing the type. When you do this, the type will be inferred from the initializer expression. The local variable will also be made final. This feature works on local variables and on foreach loops only, not on fields. The ini..