@Override
	public AddressRangeIterator getAddressRanges(Address start, boolean forward) {
		RedBlackEntry<Address, Address> entry = rbTree.getEntryLessThanEqual(start);
		if (entry == null) {
			if (forward) {
				return new AddressRangeIteratorAdapter(rbTree.iterator());
			}
			return new EmptyAddressRangeIterator();
		}
		if (forward && !contains(entry, start)) {
			entry = entry.getSuccessor();
		}
		Iterator<RedBlackEntry<Address, Address>> iterator = rbTree.iterator(entry, forward);
		return new AddressRangeIteratorAdapter(iterator);
	}
Returns a list of the AddressRanges in this set.
@return  a list of the AddressRanges in this set.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressSet.java