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

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.1
    • None

    Description

      I propose to add two accessors:

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

      and

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: