ILayer sourceUnderlyingLayer,
Collection<Range> underlyingRowPositionRanges) {
Collection<Range> localRowPositionRanges = new ArrayList<Range>(
underlyingRowPositionRanges.size());
for (Range underlyingRowPositionRange : underlyingRowPositionRanges) {
localRowPositionRanges.add(new Range(underlyingToLocalRowPosition(
sourceUnderlyingLayer, underlyingRowPositionRange.start),
underlyingToLocalRowPosition(sourceUnderlyingLayer,
underlyingRowPositionRange.end)));
}
return localRowPositionRanges;