protected static List<Pair<AddressRange, AddressRange>> getOverlaps(AddressSet a,
			AddressSet b) {
		return toList(new OverlappingObjectIterator<>( //
			a.iterator(), OverlappingObjectIterator.ADDRESS_RANGE, //
			b.iterator(), OverlappingObjectIterator.ADDRESS_RANGE));
	}
Copies each entry into a new list, since the iterator may modify the entry in place

@param it the source iterator
@return the destination (new) list
Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/util/OverlappingObjectIteratorTest.java