mapIds

fun mapIds(f: (Violation) -> List<ActivityId>): Violations

Maps the list of associated activity ids on each violation.

Parameters

f

a function which takes a Violation and returns a new list of ids.