Added some useful functions to Equal#331
Conversation
Codecov Report
@@ Coverage Diff @@
## master #331 +/- ##
==========================================
+ Coverage 39.4% 39.52% +0.11%
==========================================
Files 178 178
Lines 9245 9260 +15
Branches 523 524 +1
==========================================
+ Hits 3643 3660 +17
+ Misses 5449 5448 -1
+ Partials 153 152 -1
Continue to review full report at Codecov.
|
|
On a scale 1 to 10, how alive is this project? |
I am glad of your optimism shown by not including 0 ;) A for this current PR, I actually had a look a some times ago, but forgot to get back to you, sorry. The reason is that I see how does that sound? |
|
I thought it would be more convenient to have these methods as members, cause it feels natural to call it on Equal. And I also like the way it works in java Comparator interface :) What do you think? |
|
Yeah, that's probably fine. I think |
|
"and" and "andThen" are pretty similar, the difference is more philosophical. You would want to use "and" if both Equals are equally important and "andThen" when first Equal is more important and you want to emphasize it. |
|
@jgbi Are you OK with keeping the methods? Thanks |
|
Closing in favor of #333 (that will be merged soon if no objection) |
No description provided.