Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide annotation to generate compareTo #2

Open
DavidBurkett opened this issue May 11, 2018 · 0 comments
Open

Provide annotation to generate compareTo #2

DavidBurkett opened this issue May 11, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@DavidBurkett
Copy link
Owner

Allow annotation of fields to include in comparison, as well as the ordering of the comparison and direction of comparison. Example:

@BuilderComparison(1, inverse)

would compare that field first by calling compareTo and then taking the inverse of the result.

@DavidBurkett DavidBurkett added the enhancement New feature or request label May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant