Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4312

Add standard Scala collection collect method to Observable

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 4.4.0
    • None
    • Scala

    Description

      The current collect method on Observable has a different signature than the standard [collect|https://www.scala-lang.org/api/2.12.1/scala/collection/Iterable.html#collect[B](pf:PartialFunction[A,B]):Iterable[B]] method on Scala collections.

      The suggestion here is to add the standard collections collect method on Observable, in addition to the non-standard collect already there.

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            scott.rice@rallyhealth.com Scott Rice
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: