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

Add factory methods to Pair classes with Map.Entry input

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.10
    • Component/s: lang.tuple.*
    • Labels:
      None

      Description

      Add factory methods to *Pair classes with Map.Entry input:

      • org.apache.commons.lang3.tuple.ImmutablePair.of(Entry<L, R>)
      • org.apache.commons.lang3.tuple.Pair.of(Entry<L, R>)
      • org.apache.commons.lang3.tuple.Pair.of(Entry<L, R>)

      This is a modified version the Pair classes work from https://github.com/apache/commons-lang/pull/454

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ggregory Gary D. Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: