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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: lang.math.*
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: