@Override
	public long getNumAddresses() {
		if (numAddresses == null) {
			numAddresses = delegate.getNumAddresses();
		}
		return numAddresses;
	}
For cases where an address set cannot be accessed expediently, this class may wrap it to provide
cached read-only access.
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/program/model/address/CachedAddressSetView.java