GitHub user aaoferreira opened a pull request: https://github.com/apache/commons-lang/pull/323
Add comparison methods to ObjectUtils Additional comparison methods to make `greater than`, `greater than or equal to`, `less then` and `less than or equal to` easier to use instead of checking the int outcome of `compare` everywhere and making the code that utilises it more readable You can merge this pull request into a Git repository by running: $ git pull https://github.com/aaoferreira/commons-lang comparable-methods Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-lang/pull/323.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #323 ---- commit b553617d6917482baffd216079c370de99b052be Author: Alfredo Ferreira <alfredo@...> Date: 2018-04-06T12:00:51Z Add comparison methods to ObjectUtils ---- ---