Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-238

[lang] Add equals(type[]) to NumberUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • 3.0
    • lang.math.*
    • None
    • Operating System: other
      Platform: Other

    • 39550

    Description

      It would be useful to add an equals() method like the current min and max
      methods which take an array type and determine if all the values are equal.

      I have found myself in need of this often. I have to retrieve objects from
      multiple data sources in parallel to build an array of complex object. To ensure
      validity, I always compare that my sub-retrievals returned the same number of
      objects as expected.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pbenedict Paul Benedict
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: