资讯

The toString () method has always been a annoyance to me, equivalent to that annoying little stone in your sock that mocks you on each and every step, but isn't significant enough for you to do ...
The three transformations covered in this post (@ToString, @EqualsAndHashCode, and @TupleConstructor) can be used in the same class as shown in the next code listing.