intellij自动生成构造函数
生活随笔
收集整理的這篇文章主要介紹了
intellij自动生成构造函数
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
①右鍵點(diǎn)擊class
選擇Generate
?
②Constructor
③然后下面的選擇OK即可
?
④最終得到構(gòu)造函數(shù):
public ExchangeRateInfo(CurrencyType from, CurrencyType to, BigDecimal coefficient, Date timeStamp) {this.from = from;this.to = to;this.coefficient = coefficient;this.timeStamp = timeStamp; }總結(jié)
以上是生活随笔為你收集整理的intellij自动生成构造函数的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: EA 成立新 3A 工作室 Cliffh
- 下一篇: 两条水位线的业务需求分析-Interva