public List<ByteBlock> getBlocksBetween(ByteBlockInfo start, ByteBlockInfo end) {
		ByteBlock startBlock = start.getBlock();
		ByteBlock endBlock = end.getBlock();
		List<ByteBlock> byteBlocks = new ArrayList<ByteBlock>();
		Iterator<BlockInfo> iterator = blockInfoMap.values().iterator();
		while (iterator.hasNext()) {
			BlockInfo next = iterator.next();
			if (next.block == startBlock) {
				break;
			}
		}
		while (iterator.hasNext()) {
			BlockInfo next = iterator.next();
			if (next.block == endBlock) {
				return byteBlocks;
			}
			byteBlocks.add(next.block);
		}
		// didn't find the end, so the end must have been before the start, so return empty list
		return List.of();
	}
Returns the BlockSet.
@return the BlockSet that was used to create this index map
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/IndexMap.java