NVectorFilterMap Method
Creates a new vector by filtering and mapping at the same time.
Namespace: Austra.LibraryAssembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
public NVector FilterMap(
Func<int, bool> predicate,
Func<int, int> mapper
)
- predicate FuncInt32, Boolean
- The predicate to evaluate.
- mapper FuncInt32, Int32
- The mapping function.
NVectorA new vector with the filtered items.
This method can save an intermediate buffer and one iteration.