DRSchlaubi / mcserv

CLI utility to manage MC Server installations
https://mcserv.how
GNU General Public License v3.0
16 stars 6 forks source link

feat: add equatable #4

Closed Niggelgame closed 3 years ago

Niggelgame commented 3 years ago

Instead of comparing creating hashCodes, overriding the ==-operator and creating a toString() method by hand, you just need to specify the properties used while extending Equatable or using the EquatableMixin.

This removes massive amounts of boilerplate code and makes your life easier.