Builder Pattern的缺點就是程式碼量變多,約比原本要多寫2-3倍的程式碼。 不過有了Lombok的 @Builder annotation就不用自己手刻Builder程式碼了,Lombok ...
確定! 回上一頁