class AddressSet implements AddressSetView {

	@Override
	public AddressRange getRangeContaining(Address address) {
		RedBlackEntry<Address, Address> entry = rbTree.getEntryLessThanEqual(address);
		if (entry != null && contains(entry, address)) {
			return new AddressRangeImpl(entry.getKey(), entry.getValue());
		}
		return null;
	}

	public  AddressSet();
	@Deprecated public  AddressSet(AddressFactory factory);
	public  AddressSet(AddressRange range);
	@Deprecated public  AddressSet(AddressFactory factory, AddressRange range);
	public  AddressSet(Address start, Address end);
	@Deprecated public  AddressSet(AddressFactory factory, Address start, Address end);
	public  AddressSet(Program program, Address start, Address end);
	@Deprecated public  AddressSet(AddressFactory factory, AddressSetView set);
	public  AddressSet(AddressSetView set);
	@Deprecated public  AddressSet(AddressFactory factory, Address addr);
	public  AddressSet(Address addr);

}