Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8319802

Add a static function to java.util.function.Function that models the ternary operator.

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      A DESCRIPTION OF THE PROBLEM :
      Adding a static utility method to java.util.function.Function that allows simple modeling of a ternary operation. The purpose of this inclusion is to easily communicate intent when using the ternary operator, as well as simplify composing ternary operations.


      Attachments

        Activity

          People

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: