private final boolean valueEqualsImpl(XmlObject xmlobj) { check_dated(); SchemaType typethis = instanceType(); SchemaType typeother = ((SimpleValue)xmlobj).instanceType(); if (typethis == null && typeother == null) // detects nil return true; if (typethis == null || typeother == null) return false; if (!comparable_value_spaces(typethis, typeother)) return false; if (xmlobj.schemaType().getSimpleVariety() == SchemaType.UNION) return (underlying(xmlobj)).equal_to(this); return equal_to(xmlobj); }
private final boolean valueEqualsImpl(XmlObject xmlobj) { check_dated(); SchemaType typethis = instanceType(); SchemaType typeother = ((SimpleValue)xmlobj).instanceType(); if (typethis == null && typeother == null) // detects nil return true; if (typethis == null || typeother == null) return false; if (!comparable_value_spaces(typethis, typeother)) return false; if (xmlobj.schemaType().getSimpleVariety() == SchemaType.UNION) return (underlying(xmlobj)).equal_to(this); return equal_to(xmlobj); }
private final boolean valueEqualsImpl(XmlObject xmlobj) { check_dated(); SchemaType typethis = instanceType(); SchemaType typeother = ((SimpleValue)xmlobj).instanceType(); if (typethis == null && typeother == null) // detects nil return true; if (typethis == null || typeother == null) return false; if (!comparable_value_spaces(typethis, typeother)) return false; if (xmlobj.schemaType().getSimpleVariety() == SchemaType.UNION) return (underlying(xmlobj)).equal_to(this); return equal_to(xmlobj); }