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

Add Either type in tuples

    XMLWordPrintableJSON

Details

    Description

      A Pair holds left and right, an Either holds left or right. Either is the dual of Pair.

       

      Either applies transformations conditionally, like optional. So that, like using optional, you do not need to check for null etc.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jangroothuijse Jan Groothuijse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: