DateVectorFilterMap Method |
Creates a new vector by filtering and mapping at the same time.
Namespace: Austra.LibraryAssembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+670447af29d7e7e825b02ff7e655ef2dc84132d2
Syntaxpublic DateVector FilterMap(
Func<Date, bool> predicate,
Func<Date, Date> mapper
)
Parameters
- predicate FuncDate, Boolean
- The predicate to evaluate.
- mapper FuncDate, Date
- The mapping function.
Return Value
DateVectorA new vector with the filtered items.
RemarksThis method can save an intermediate buffer and one iteration.
See Also