class AddressSet implements AddressSetView {

	@Override
	public final boolean contains(Address address) {
		// See if there is a tree node whose range encapsulates the given address.
		RedBlackEntry<Address, Address> entry = rbTree.getEntryLessThanEqual(address);
		if (entry == null) {
			return false;
		}
		return address.compareTo(entry.getValue()) <= 0;
	}

	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);

}