A template trait that contains just the map, flatMap, foreach and withFilter methods of trait Iterable.
| Type parameters |
|
|---|---|
| Supertypes | |
| Known subtypes |
Builds a new collection by applying a function to all elements of the filtered outer collection containing this WithFilter instance that satisfy
| Type parameters |
|
|---|---|
| Value parameters |
|
| Returns | a new collection resulting from applying the given collection-valued function |
Applies a function f to all elements of the filtered outer collection.
| Type parameters |
|
|---|---|
| Value parameters |
|
Builds a new collection by applying a function to all elements of the filtered outer collection.
| Type parameters |
|
|---|---|
| Value parameters |
|
| Returns | a new collection resulting from applying the given function |
Further refines the filter for this filtered collection.
| Value parameters |
|
|---|---|
| Returns | an object of class |
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/collection/WithFilter.html