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

Add standard Scala collection collect method to Observable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.4.0
    • Affects Version/s: None
    • Component/s: Scala
    • Labels:

      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.

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

              Created:
              Updated:
              Resolved: