class Domain {

    public boolean contains(Domain other)
    {
        checkCompatibility(other);
        return this.union(other).equals(this);
    }

    private  Domain(ValueSet values, boolean nullAllowed);

}