Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-810

Adding accessors to the "Pair" class (package "o.a.c.m.util")

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1
    • Labels:

      Description

      I propose to add two accessors:

      public K getFirst() {
        return getKey();
      }
      

      and

      public V getSecond() {
        return getValue();
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              erans Gilles Sadowski
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: