当前位置:网站首页>Lombok common notes
Lombok common notes
2022-06-25 15:33:00 【Jingle!】
@Getter and @Setter effect :
Generate member variables get and set Method . Write on member variables , Is valid for the current member variable . Write on class , Valid for all member variables . Be careful : Invalid static member variable .
@ToString:
effect : Generate toString() Method . This annotation can only be written on classes .
@NoArgsConstructor:
Parameterless construction method .
@AllArgsConstructor:
Full parameter construction method . Annotations can only be written on classes .
@EqualsAndHashCode
effect : Generate hashCode() and equals() Method . Annotations can only be written on classes .
@Data
effect : Generate setter/getter、equals、hashCode、toString Method , If final attribute , It's not the right thing to do Attribute generation setter Method . Annotations can only be written on classes .
边栏推荐
- Netlogo learning
- Is it safe to open a stock account online?
- Sampling method and descriptive statistical function in R language
- Several common optimization methods
- If a thread overflows heap memory or stack memory, will other threads continue to work
- CV pre training model set
- The situation and suggestions of a software engineering associate graduate who failed in the postgraduate entrance examination
- Completabilefuture of asynchronous tools for concurrent programming
- Data preprocessing - normalization and standardization
- Arthas source code learning-1
猜你喜欢

Custom structure type

GDB debugging

semget No space left on device

剑指 Offer 03. 数组中重复的数字
![[paper notes] overview of case segmentation](/img/93/57ad42e0c058b7d5fd1b4066678707.jpg)
[paper notes] overview of case segmentation

Summary of regularization methods

Principle and implementation of MySQL master-slave replication (docker Implementation)

Install Kali extension 1: (kali resolution problem)

JS select all exercise

Summary of four parameter adjustment methods for machine learning
随机推荐
Learning C language today is the first time to learn C language. In college, C linguistics is not good, but I want to make progress, so I found a beep video on the Internet to learn C language
System Verilog — interface
Joseph Ring - formula method (recursive formula)
剑指 Offer 03. 数组中重复的数字
Stack and queue
Thread - learning notes
QT animation loading and closing window
Solution of push code failure in idea
Learning notes on February 5, 2022 (C language)
Day01: learning notes
Arthas, a sharp tool for online diagnosis - several important commands
Es data synchronization mode
JMeter reading and writing excel requires jxl jar
0706-- replace fields in the use case, such as mobile phone number or ID
Leetcode122 timing of buying and selling stocks II
Is it safe to open a stock account online?
Distributed token
Js- get the mouse coordinates and follow them
Design and implementation of timer
Detailed summary of reasons why alertmanager fails to send alarm messages at specified intervals / irregularly